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
roots.add(element);
        
        element= new InnerNode(null, workingValues, "WhiteSpaceOptions.between_empty_brackets");         
        createBetweenEmptyBracketsTree(workingValues, element);
        roots.add(element);
        return roots;
	}
	
    /**
     * Create the tree, in this order: position - syntax element - abstract
     * element
     */
    public static ArrayList createAltTree(Map workingValues) {
        final ArrayList roots= new ArrayList();
        
        InnerNode parent;
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.before_opening_paren"); 
        createBeforeOpenParenTree(workingValues, parent);
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.after_opening_paren"); 
        createAfterOpenParenTree(workingValues, parent);
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.before_closing_paren"); 
        createBeforeClosingParenTree(workingValues, parent); 
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.after_closing_paren"); 
        createAfterCloseParenTree(workingValues, parent);
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.between_empty_parens"); 
        createBetweenEmptyParenTree(workingValues, parent);