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
parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.before_opening_brace"); 
        createBeforeOpenBraceTree(workingValues, parent);
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.after_opening_brace"); 
        createAfterOpenBraceTree(workingValues, parent);
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.before_closing_brace"); 
        createBeforeClosingBraceTree(workingValues, parent);
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.after_closing_brace"); 
        createAfterCloseBraceTree(workingValues, parent);
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.between_empty_braces"); 
        createBetweenEmptyBracesTree(workingValues, parent);
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.before_opening_bracket"); 
        createBeforeOpenBracketTree(workingValues, parent);
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.after_opening_bracket"); 
        createAfterOpenBracketTree(workingValues, parent);
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.before_closing_bracket"); 
        createBeforeClosingBracketTree(workingValues, parent);
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.between_empty_brackets"); 
        createBetweenEmptyBracketsTree(workingValues, parent);
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.before_operator"); 
        createBeforeOperatorTree(workingValues, parent);
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.after_operator"); 
        createAfterOperatorTree(workingValues, parent);