Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
11.2
Description
Using JDK 13 latest switch expression preview feature works very well but using default formatter option seems not works as I would expect by deleting all spaces between case value and expression arrow. One space would look nicer IMHO.
Expected:
switch (i) { case 1 -> System.out.println(""); }
As is:
switch (i) { case 1-> System.out.println(""); }
Attachments
Issue Links
- links to