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
createBeforeCommaTree(workingValues, createChild(before, workingValues, "WhiteSpaceOptions.comma")); 
        createBeforeColonTree(workingValues, createChild(before, workingValues, "WhiteSpaceOptions.colon")); 
        createBeforeSemicolonTree(workingValues, createChild(before, workingValues, "WhiteSpaceOptions.semicolon")); 
        createBeforeQuestionTree(workingValues, createChild(before, workingValues, "WhiteSpaceOptions.question_mark")); 
        roots.add(before);
        final InnerNode after= new InnerNode(null, workingValues, "WhiteSpaceOptions.after"); 
        createAfterOpenParenTree(workingValues, createChild(after, workingValues, "WhiteSpaceOptions.opening_paren")); 
        createAfterCloseParenTree(workingValues, createChild(after, workingValues, "WhiteSpaceOptions.closing_paren")); 
        createAfterOpenBraceTree(workingValues, createChild(after, workingValues, "WhiteSpaceOptions.opening_brace")); 
        createAfterCloseBraceTree(workingValues, createChild(after, workingValues, "WhiteSpaceOptions.closing_brace")); 
        createAfterOpenBracketTree(workingValues, createChild(after, workingValues, "WhiteSpaceOptions.opening_bracket")); 
        createAfterOperatorTree(workingValues, createChild(after, workingValues, "WhiteSpaceOptions.operator")); 
        createAfterCommaTree(workingValues, createChild(after, workingValues, "WhiteSpaceOptions.comma")); 
        createAfterColonTree(workingValues, createChild(after, workingValues, "WhiteSpaceOptions.colon")); 
        createAfterSemicolonTree(workingValues, createChild(after, workingValues, "WhiteSpaceOptions.semicolon")); 
        createAfterQuestionTree(workingValues, createChild(after, workingValues, "WhiteSpaceOptions.question_mark")); 
        roots.add(after);
        final InnerNode between= new InnerNode(null, workingValues, "WhiteSpaceOptions.between"); 
        createBetweenEmptyBracesTree(workingValues, createChild(between, workingValues, "WhiteSpaceOptions.empty_braces")); 
        createBetweenEmptyBracketsTree(workingValues, createChild(between, workingValues, "WhiteSpaceOptions.empty_brackets")); 
        createBetweenEmptyParenTree(workingValues, createChild(between, workingValues, "WhiteSpaceOptions.empty_parens")); 
        roots.add(between);
        return roots;
	}
	
	/**
	 * Create the tree, in this order: syntax element - position - abstract element
	 */
	public static ArrayList createTreeBySyntaxElem(Map workingValues) {
        final ArrayList roots= new ArrayList();