Bug 43595 Javadoc formatter adds an extra line every time you format
20030924 Everytime you format a comment with a blank line another blank line is added. STEPS 1)Add a comment like this: /** * Get the progress monitor for a job. If it is a UIJob get the main * monitor from the status line. Otherwise get a background monitor. * * @return IProgressMonitor */ 2) Make a change in another method and format. It will look this this afterwards /** * Get the progress monitor for a job. If it is a UIJob get the main * monitor from the status line. Otherwise get a background monitor. * * * @return IProgressMonitor */
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/comment/CommentRegion.java
} catch (BadLocationException exception) {
			
		} catch (BadPositionCategoryException exception) {
			
		}
		int index= 0;
		CommentLine line= null;
		for (final Iterator iterator= fLines.iterator(); iterator.hasNext(); index++) {
			line= (CommentLine)iterator.next();
			line.scanLine(index);
			line.tokenizeLine(index);
		}
	}
	/**
	 * Should blank lines be cleared during formatting?
	 * 
	 * @return <code>true</code> iff blank lines should be cleared, <code>false</code> otherwise
	 */
	protected final boolean isClearBlankLines() {
		return fClearBlankLines;
	}
	/**
	 * Is the current comment range a word?
	 * 
	 * @param current Comment range to test whether it is a word
	 * @return <code>true</code> iff the comment range is a word, <code>false</code> otherwise.
	 */
	protected final boolean isCommentWord(final CommentRange current) {
		final String token= getText(current.getOffset(), current.getLength());
		for (int offset= 0; offset < token.length(); offset++) {