Bug 57131 Remove references to AST#parseCompilationUnit from java.compare
JDT Core wants to remove the following methods (that have been deprecated for several builds now) for next integration build: - AST#parseCompilationUnit(ICompilationUnit,boolean,WorkingCopyOwner) (use ASTParser instead) - ICompilationUnit#reconcile(boolean, IProgressMonitor) (use reconcile(boolean, boolean, WorkingCopyOwner, IProgressMonitor) instead)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryAction.java
return m;
				}
			}
		}
		return null;
	}
	
	final boolean isEnabled(IFile file) {
		if (file == null || ! file.exists())
			return false;
		if (fModifiesFile) {
			
			
			
			return true;
		}
		return true;
	}
	
	boolean isEnabled(ISelection selection) {
		IMember m= getEditionElement(selection);
		if (m == null)
			return false;
		IFile file= getFile(m);
		if (!isEnabled(file))
			return false;
		if (file != null && beingEdited(file))
			return getWorkingCopy(m) != null;
		return true;
	}