Bug 44721 Source formatting is very slow
The code formatting of longer java source files in M4 is extremely slow.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/comment/CommentFormattingStrategy.java
} catch (BadLocationException exception) {
			
		}
	}
	/*
	 * @see org.eclipse.jface.text.formatter.ContextBasedFormattingStrategy#formatterStarts(org.eclipse.jface.text.formatter.IFormattingContext)
	 */
	public void formatterStarts(IFormattingContext context) {
		super.formatterStarts(context);
		final FormattingContext current= (FormattingContext)context;
		fPartitions.addLast(current.getProperty(FormattingContextProperties.CONTEXT_PARTITION));
	}
	/*
	 * @see org.eclipse.jface.text.formatter.ContextBasedFormattingStrategy#formatterStops()
	 */
	public void formatterStops() {
		super.formatterStops();
		fPartitions.clear();
	}
	/**
	 * Returns the content formatter with which this formatting strategy has
	 * been registered.
	 * 
	 * @return The content formatter
	 */
	public final ContentFormatter getFormatter() {
		return fFormatter;
	}
}