Bug 50212 [formatting] Repeated insertion of new line when formatting javadoc comment
Formatting the following javadoc comment multiple times results in the insertion of a new line before 'test' *each* time: /** * <pre></pre> * test */
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/comment/MultiCommentRegion.java
int count= 0;
		boolean paragraph= false;
		String token= null;
		CommentRange range= null;
		CommentRange blank= null;
		for (final ListIterator iterator= getRanges().listIterator(); iterator.hasNext();) {
			range= (CommentRange)iterator.next();
			count= range.getLength();
			if (count > 0) {
				token= getText(range.getOffset(), count).toLowerCase();
				markJavadocTag(range, token);
				if (!paragraph && (range.hasAttribute(COMMENT_ROOT) || range.hasAttribute(COMMENT_PARAMETER))) {
					iterator.previous();
					while (iterator.hasPrevious()) {
						blank= (CommentRange)iterator.previous();
						if (blank.hasAttribute(COMMENT_BLANKLINE))
							iterator.remove();
						else
							break;
					}
					range.setAttribute(COMMENT_PARAGRAPH);
					paragraph= true;
				}
				markHtmlTag(range, token);
			}
		}
		markHtmlRanges();
	}
}