JEP 325[1] has been integrated into JDK12, improving switch statement, and 
adding a switch expression. 

This patch adds a hint to convert ordinary statement switch to a "rule" switch, 
with cases in the form "case _constants_ -> {}".

[1] http://openjdk.java.net/jeps/325

[ Full content available at: 
https://github.com/apache/incubator-netbeans/pull/822 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to