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
* Returns the text of this comment region in the indicated range.
	 * 
	 * @param offset The offset of the comment range to retrieve in comment region coordinates
	 * @param length The length of the comment range to retrieve
	 * @return The content of this comment region in the indicated range
	 */
	protected final String getText(final int offset, final int length) {
		String content= ""; 
		try {
			content= getDocument().get(getOffset() + offset, length);
		} catch (BadLocationException exception) {
			
		}
		return content;
	}
	/**
	 * Does the border <code>border</code> exist?
	 * 
	 * @param border The type of the border. Must be a border attribute of <code>CommentRegion</code>.
	 * @return <code>true</code> iff this border exists, <code>false</code> otherwise.
	 */
	protected final boolean hasBorder(final int border) {
		return (fBorders & border) == border;
	}
	/**
	 * Initializes the internal representation of the comment region.
	 */
	protected void initializeRegion() {
		try {
			getDocument().addPosition(COMMENT_POSITION_CATEGORY, this);