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/ModifyDialogTabPage.java
private final int fMinValue, fMaxValue;
		private final Label fNumberLabel;
		private final Text fNumberText;
		protected int fSelected;
        protected int fOldSelected;
        
        
		/**
		 * Create a new NumberPreference.
		 * @param composite The composite on which the SWT widgets are added.
		 * @param numColumns The number of columns in the composite's GridLayout.
		 * @param preferences The map to store the values.
		 * @param key The key to store the values.
		 * @param minValue The minimum value which is valid input.
		 * @param maxValue The maximum value which is valid input.
		 * @param text The label text for this Preference.
		 */
		public NumberPreference(Composite composite, int numColumns,
							   Map preferences, String key, 
							   int minValue, int maxValue, String text) {
		    super(preferences, key);
		    
			fNumberLabel= createLabel(numColumns - 1, composite, text, GridData.FILL_HORIZONTAL);
			fNumberText= new Text(composite, SWT.SINGLE | SWT.BORDER | SWT.RIGHT);
			final int length= Integer.toString(maxValue).length() + 3; 
			fNumberText.setLayoutData(createGridData(1, GridData.HORIZONTAL_ALIGN_END, fPixelConverter.convertWidthInCharsToPixels(length)));
			
			fMinValue= minValue;
			fMaxValue= maxValue;