Community
Participate
Working Groups
Created attachment 236687 [details] formatting preferences One patch = 1000 words. On formatting : private static volatile String uuid; // volatile needed - see EJ item 71 - // need lazy initialization to get a context + // need lazy initialization to get a context /** * javadoc omitted */ public static String getDeviceIdentifier(Context ctx, boolean ignoreBuggyAndroidID) throws DeviceIDException { As you see the formatter relates the comment to the next block of "declarations of the same kind". The formatter should detect there is a comment in the previous line and continue streaming the comment. This is an example of the line comments being "second line citizens" - see the blocked bug at https://bugs.eclipse.org/bugs/show_bug.cgi?id=396686. I attach my formatting preferences Thanks
This problem no longer occurs after the formatter redesign. *** This bug has been marked as a duplicate of bug 303519 ***