This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The problem exists in NB 8.1 only. There is an example Before Сtrl+Alt+F // ------------------------------------------- if (DD != 0) { rez = Integer.toString(DD); } else { if (HH != 0) { rez = Integer.toString(HH); } else { rez = Integer.toString(MM); } } // ------------------------------------------- After Сtrl+Alt+F // ------------------------------------------- if (DD != 0) { rez = Integer.toString(DD); } else if (HH != 0) { rez = Integer.toString(HH); } else { rez = Integer.toString(MM); } // -------------------------------------------