Bug 52072 Code formatter -> white space -> control statements -> do while shows while example
The formatting options for the 'do while' statement shows an example of a 'while' loop rather than a 'do while' loop. Seems odd; either the option should be 'while' or the preview should show a do-while loop. Mac OS X.3.2 Eclipse 3.0M7
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceOptions.java
element= new InnerNode(null, workingValues, "WhiteSpaceOptions.operator");         
        createBeforeOperatorTree(workingValues, createChild(element, workingValues, "WhiteSpaceOptions.before")); 
        createAfterOperatorTree(workingValues, createChild(element, workingValues, "WhiteSpaceOptions.after")); 
        roots.add(element);
        
        element= new InnerNode(null, workingValues, "WhiteSpaceOptions.comma");         
        createBeforeCommaTree(workingValues, createChild(element, workingValues, "WhiteSpaceOptions.before")); 
        createAfterCommaTree(workingValues, createChild(element, workingValues, "WhiteSpaceOptions.after")); 
        roots.add(element);
        
        element= new InnerNode(null, workingValues, "WhiteSpaceOptions.colon");         
        createBeforeColonTree(workingValues, createChild(element, workingValues, "WhiteSpaceOptions.before")); 
        createAfterColonTree(workingValues, createChild(element, workingValues, "WhiteSpaceOptions.after")); 
        roots.add(element);
        
        element= new InnerNode(null, workingValues, "WhiteSpaceOptions.semicolon");         
        createBeforeSemicolonTree(workingValues, createChild(element, workingValues, "WhiteSpaceOptions.before")); 
        createAfterSemicolonTree(workingValues, createChild(element, workingValues, "WhiteSpaceOptions.after")); 
        roots.add(element);
        
        element= new InnerNode(null, workingValues, "WhiteSpaceOptions.question_mark");         
        createBeforeQuestionTree(workingValues, createChild(element, workingValues, "WhiteSpaceOptions.before")); 
        createAfterQuestionTree(workingValues, createChild(element, workingValues, "WhiteSpaceOptions.after")); 
        roots.add(element);
        element= new InnerNode(null, workingValues, "WhiteSpaceOptions.between_empty_parens");         
        createBetweenEmptyParenTree(workingValues, element);
        roots.add(element);
        element= new InnerNode(null, workingValues, "WhiteSpaceOptions.between_empty_braces");         
        createBetweenEmptyBracesTree(workingValues, element);