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.
I have the following formatting: https://github.com/graphhopper/graphhopper/blob/master/pom.xml#L29 Now I have this "within constructor code": public FinishInstruction( final double lat, final double lon ) { super(FINISH, "", DISTANCES, TIMES, new PointList() { { add(lat, lon); } }); } When I format this source it adds a blank line: public FinishInstruction( final double lat, final double lon ) { super(FINISH, "", DISTANCES, TIMES, new PointList() { { add(lat, lon); } }); } Looks similar to https://netbeans.org/bugzilla/show_bug.cgi?id=7732
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/4fdc588cd074