Bug 89525 [formatting] Javadoc comment formatter: some options don't work anymore
M6 test pass The two options "Blank line before Javadoc tags" and "New line after param tags" don't work anymore. Tested with the following code snippet: /** * Method two * @param s1 this is the first parameter having a useless comment * @param s2 this is the second parameter having a useless comment */ public void two(String s1, String s2) { } expected to get /** * Method two * * @param * s1 this is the first parameter * having a useless comment * @param * s2 this is the second parameter * having a useless comment */
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/CommentsTabPage.java
" * These possibilities include:\n" + 
		" * <ul><li>Formatting of header comments.</li><li>Formatting of Javadoc tags</li></ul>\n" + 
		" */\n" + 
		" int bar();" + 
		" /**\n" + 
		" * The following is some sample code which illustrates source formatting within javadoc comments:\n" + 
		" * <pre>public class Example {final int a= 1;final boolean b= true;}</pre>\n" +  
		" * Descriptions of parameters and return values are best appended at end of the javadoc comment.\n" + 
		" * @param a The first parameter. For an optimum result, this should be an odd number\n" + 
		" * between 0 and 100.\n" + 
		" * @param b The second parameter.\n" + 
		" * @return The result of the foo operation, usually within 0 and 1000.\n" + 
		" */" + 
		" int foo(int a, int b);" + 
		"}"; 
	
	private CompilationUnitPreview fPreview;
	public CommentsTabPage(ModifyDialog modifyDialog, Map workingValues) {
		super(modifyDialog, workingValues);
	}
	protected void doCreatePreferences(Composite composite, int numColumns) {
	    
		
		final Group globalGroup= createGroup(numColumns, composite, FormatterMessages.getString("CommentsTabPage.group1.title")); 
		final CheckboxPreference global= createPref(globalGroup, numColumns, FormatterMessages.getString("CommentsTabPage.enable_comment_formatting"), DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT); 
		final CheckboxPreference header= createPref(globalGroup, numColumns, FormatterMessages.getString("CommentsTabPage.format_header"), DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HEADER); 
		final CheckboxPreference html= createPref(globalGroup, numColumns, FormatterMessages.getString("CommentsTabPage.format_html"), DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HTML); 
		final CheckboxPreference code= createPref(globalGroup, numColumns, FormatterMessages.getString("CommentsTabPage.format_code_snippets"), DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_SOURCE); 
		
		final Group settingsGroup= createGroup(numColumns, composite, FormatterMessages.getString("CommentsTabPage.group2.title"));