Bug 32893 Workspace Compatibility Problems 2.0 -> 2.1
Build 2.1 RC1 This PR collects problems related to opening a 2.0 workspace with 2.1.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/BestMatchHover.java
private static class JavaEditorTextHoverDescriptorComparator implements Comparator {
		
		/*
		 * @see Comparator#compare(Object, Object)
		 */
		public int compare(Object object0, Object object1) {
			JavaEditorTextHoverDescriptor element0= (JavaEditorTextHoverDescriptor)object0;
			JavaEditorTextHoverDescriptor element1= (JavaEditorTextHoverDescriptor)object1;	
			String id0=	element0.getId();
			String id1= element1.getId();
			
			if (id0 != null && id0.equals(id1))
				return 0;
			
			if (id0 != null && JavaProblemHover.isJavaProblemHover(id0))
				return -1;
			if (id1 != null && JavaProblemHover.isJavaProblemHover(id1))
				return +1;
			
			if (element0.dependsOn(element1))
				return -1;
			if (element1.dependsOn(element0))
				return +1;
			
			return 0;
		}
	}
	
	protected String fCurrentPerspectiveId;