Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
enum colors {RED,BLUE};
colors color = colors.RED;
int i = switch(color)
{ case RED -> break 6; default -> break 7; };
On Alt+Shft+F formatting should happen properly.
Currently formatting is incorrect.
Attachments
Issue Links
- depends upon
-
NETBEANS-1966 Test Cases for Formatting issue in Switch Expression(JDK-12)
- Closed
- is depended upon by
-
NETBEANS-1674 NPE thrown while formatting the switch expression(JDK-12)
- Closed
- links to