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.
[ BUILD # : 201005050200 ] [ JDK VERSION : 1.6.* ] Write: return cp == 0 ? and hit return. Result (indentation is only 4): return cp == 0 ? "foo" : "bar"; Indentation should be 8 like: return cp == 0 ? "foo" : "bar";
If "Return" is hit before the '?', the indentation is completely missing. Example: out.append(item instanceof EntryList ? "\n"+new Statistics((EntryList)item) : ", "+item);
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/62d7737905e6