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/JavaDocLine.java
* @param region Comment region to create the line for
	 */
	protected JavaDocLine(final CommentRegion region) {
		super(region);
	}
	/*
	 * @see org.eclipse.jdt.internal.ui.text.comment.CommentLine#adaptLine(org.eclipse.jdt.internal.ui.text.comment.CommentLine)
	 */
	protected void adapt(final CommentLine previous) {
		if (!hasAttribute(JAVADOC_ROOT) && !hasAttribute(JAVADOC_PARAMETER))
			fReference= previous.getReference();
	}
	/*
	 * @see org.eclipse.jdt.internal.ui.text.comment.CommentLine#append(org.eclipse.jdt.internal.ui.text.comment.CommentRange)
	 */
	protected void append(final CommentRange range) {
		final JavaDocRegion parent= (JavaDocRegion)getParent();
		if (range.hasAttribute(JAVADOC_PARAMETER))
			setAttribute(JAVADOC_PARAMETER);
		else if (range.hasAttribute(JAVADOC_ROOT))
			setAttribute(JAVADOC_ROOT);
		final int ranges= getSize();
		if (ranges == 1) {
			final CommentRange first= getFirst();
			final String common= getParent().getText(first.getOffset(), first.getLength()) + CommentRegion.COMMENT_RANGE_DELIMITER;
			if (hasAttribute(JAVADOC_ROOT))
				fReference= common;
			else if (hasAttribute(JAVADOC_PARAMETER)) {
				if (parent.isIndentRootDescriptions())
					fReference= common + "   ";