Coding using Java7 String switch case style..
I am new to IntelliJ and I am Coding using Java7 String switch case style.. if I go to build the project I am getting the following error.. how can I fix this...
java: strings in switch are not supported in -source 1.6 (use -source 7 or higher to enable strings in switch)
请先登录再写评论。
PS. If you have language level set to 6.0, 7.0 string based switch should be marked (along with any other 7.0 "things") as an error (red underscore) in editor.