Community
Participate
Working Groups
Build: I20030625 The following code is not formatted correctly by the formatter: if (!lockListener.isUIWaiting()) asyncExec(new Runnable() { public void run() { lockListener.doPendingWork(); } }); It should have indented the run method, like this: if (!lockListener.isUIWaiting()) asyncExec(new Runnable() { public void run() { lockListener.doPendingWork(); } }); It formats correctly if braces are added to the "if" statement.
You can also see this by formatting the class org.eclipse.ui.progress.DeferredTreeContentManager John did you mean to mark this as 2.1? I have only seen it since 20030709.
2.1 was the auto-detected value set by bugzilla. I was using 3.0 stream build I20030625.
This is addressed in the new formatter. Fixed and released in HEAD. Regression test added.
Verified.