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
}
		
		return false;
	}
	
	/**
	 * Returns the smart preference state.
	 * 
	 * @return <code>true</code> if smart mode is on, <code>false</code> otherwise
	 */
	private boolean isSmartMode() {
		ITextEditor editor= getTextEditor();
		
		if (editor instanceof ITextEditorExtension3)
			return ((ITextEditorExtension3) editor).getInsertMode() == ITextEditorExtension3.SMART_INSERT;
		
		return false;
	}
	
	/**
	 * Returns the document currently displayed in the editor, or <code>null</code> if none can be 
	 * obtained.
	 * 
	 * @return the current document or <code>null</code>
	 */
	private IDocument getDocument() {
		
		ITextEditor editor= getTextEditor();
		if (editor != null) {