Bug 121040 Patch for API changes in Team
I have cleaned up some API a bit which resulted in a change in a JDT class. I will attahc a patch that swithes to using a new method name.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/model/JavaCompareAdapter.java
/**
	 * {@inheritDoc}
	 */
	public ICompareInput asCompareInput(final ISynchronizationContext context, final Object element) {
		if (element instanceof RefactoringDescriptorProxy)
			return super.asCompareInput(context, element);
		final IResource resource= JavaModelProvider.getResource(element);
		if (resource != null)
			return super.asCompareInput(context, resource);
		return null;
	}
}