Bug 99135 [typing] Blank line causes javadoc indentation regression
In N20050609-0010. Given a javadoc comment: /** * oops, extra return there. */ public static String noop() { return ""; } Select All on the file, then Source > Correct Indentation. N20050608-0010 leaves this unchanged. N20050609-0010 (the latest), formats this as /** * oops, extra return there. */ Likely minor (who does that?), but a regression.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/IndentAction.java
* @param document the document
	 * @param line the line in document
	 * @param scanner the scanner
	 * @return the indent, or <code>null</code> if not computable
	 * @throws BadLocationException
	 * @since 3.1
	 */
	private String computeJavadocIndent(IDocument document, int line, JavaHeuristicScanner scanner) throws BadLocationException {
		if (line == 0)
			return null;
		
		IRegion previousLine= document.getLineInformation(line - 1);
		int start= previousLine.getOffset();
		int end= start + previousLine.getLength();
		
		int firstNonWS= scanner.findNonWhitespaceForwardInAnyPartition(start, end);
		if (firstNonWS == JavaHeuristicScanner.NOT_FOUND)
			return " "; 
		StringBuffer buf= new StringBuffer();
		String indentation= document.get(start, firstNonWS - start);
		buf.append(indentation);
		if (document.getChar(firstNonWS) == '/')
			
			buf.append(' ');
		return buf.toString();
	}
	
	/**
	 * Returns the size in characters of a string. All characters count one, tabs count the editor's
	 * preference for the tab display