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_comma"); 
        createBeforeCommaTree(workingValues, parent);
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.after_comma"); 
        createAfterCommaTree(workingValues, parent); 
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.after_colon"); 
        createAfterColonTree(workingValues, parent); 
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.before_colon"); 
        createBeforeColonTree(workingValues, parent);
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.before_semicolon"); 
        createBeforeSemicolonTree(workingValues, parent);
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.after_semicolon"); 
        createAfterSemicolonTree(workingValues, parent); 
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.before_question_mark"); 
        createBeforeQuestionTree(workingValues, parent); 
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.after_question_mark"); 
        createAfterQuestionTree(workingValues, parent); 
        
        return roots;
	}