vikasprabhakar opened a new pull request #1081: [NETBEANS-1675]Java Hint to fix error :different case kinds used in the switch in switch expressions URL: https://github.com/apache/incubator-netbeans/pull/1081 The changes works for different case kinds in switch expression. Ex: Scenario 1: Switch Statements int k = 1; switch(k){ case 1 : System.out.println( "one"); break; case 2 -> System.out.println( "two"); } After Fix: ink k = 1; switch (k){ case 1 -> System.out.println( "one"); case 2 -> System.out.println( "two"); } To do Task: 1. Handle the Switch expression Scenario 2. Write the test cases 3. Handle comment issues
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
