Community
Participate
Working Groups
3.0 M4 The following code: boolean b = true; if (b) for (int i = 0; i < 10; i++) { System.out.println(i); } else System.out.println("nothing to do"); when formatted using the code formatters becomes: boolean b = true; if (b) for (int i = 0; i < 10; i++) { System.out.println(i); } else System.out.println("nothing to do");
You should enable the new formatter in Preferences>Java>Work in progress. This is fixed with the new formatter.
Regression test added. Close as INVALID.