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.
You have the enum: public enum TestEnum { ONE(1), TWO(2); private TestEnum(int i) { } } and you format it (Menu / Source / Format). You get: public enum TestEnum { ONE, TWO; private TestEnum(int i) { } } As you can see the arguments for the constructors are lost.
Reproducible, small defect in perfect Jackpot engine...
Checking in org/netbeans/modules/java/source/pretty/VeryPretty.java; /cvs/java/source/src/org/netbeans/modules/java/source/pretty/VeryPretty.java,v <-- VeryPretty.java new revision: 1.45; previous revision: 1.44 done
*** Issue 114459 has been marked as a duplicate of this issue. ***