Bug 48975 Comment Formatter should compare values using equals()
Currently, the preference values are read and compared by reference, which only works in special circumstances.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/comment/CommentRegion.java
}
	/**
	 * Returns the document of this comment region.
	 * 
	 * @return The document of this region
	 */
	protected final IDocument getDocument() {
		return fDocument;
	}
	/**
	 * Returns the list of comment ranges in this comment region
	 * 
	 * @return The list of comment ranges in this region
	 */
	protected final LinkedList getRanges() {
		return fRanges;
	}
	/**
	 * Returns the number of comment lines in this comment region.
	 * 
	 * @return The number of lines in this comment region
	 */
	protected final int getSize() {
		return fLines.size();
	}
	/**
	 * Returns the comment formatting strategy used to format this comment
	 * region.
	 * 
	 * @return The formatting strategy for this comment region