Bug 6308 Open type dialog should trim entered value
Leading and trailing spaces should be ignored in the input field of this dialog
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
private boolean fIgnoreCase;
	
		LabelComparator(boolean ignoreCase) {
			fIgnoreCase= ignoreCase;
		}
	
		public int compare(Object left, Object right) {
			Label leftLabel= (Label) left;
			Label rightLabel= (Label) right;			
				
			int value= fIgnoreCase
				? leftLabel.string.compareToIgnoreCase(rightLabel.string)
				: leftLabel.string.compareTo(rightLabel.string);
			if (value != 0)
				return value;
			
			if (leftLabel.image == null) {
				return (rightLabel.image == null) ? 0 : -1;