Bug 90170 [Dialogs] CamelCase search on OpenResource/OpenType
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceSearcher.java
final IResource resource2 = resourceDecorator2.getResource();
			String s1 = resource1.getName();
			String s2 = resource2.getName();
			int comparability = collator.compare(s1, s2);
			if (comparability == 0) {
				resourceDecorator1.markAsDuplicate();
				resourceDecorator2.markAsDuplicate();
				s1 = resource1.getFullPath().toString();
				s2 = resource2.getFullPath().toString();
				comparability = collator.compare(s1, s2);
			}
			if ((resourceDecorator1.isHistory() && resourceDecorator2
					.isHistory())
					|| (!resourceDecorator1.isHistory() && !resourceDecorator2
							.isHistory()))
				return comparability;
			if (resourceDecorator1.isHistory())
				return -1;
			if (resourceDecorator2.isHistory())
				return +1;
			return 0;
		}
	}
	/**
	 * ResourceProxyVisitor to visit resource tree and get matched resources.
	 * During visit resources they update progress monitor.
	 * 
	 * @since 3.3
	 */
	private class ResourceProxyVisitor implements IResourceProxyVisitor {