Parser detects wrong include files now
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / CommitWorkingCopyOperation.java
index 839b8cd..b03a1c5 100644 (file)
@@ -71,7 +71,7 @@ public class CommitWorkingCopyOperation extends JavaModelOperation {
       //                       PackageFragmentRoot root = (PackageFragmentRoot)workingCopy.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
       boolean isIncluded = !Util.isExcluded(workingCopy);
       //                       if (isPrimary || (root.isOnClasspath() && isIncluded && resource.isAccessible() &&
-      // Util.isValidCompilationUnitName(workingCopy.getElementName()))) {
+      // ProjectPrefUtil.isValidCompilationUnitName(workingCopy.getElementName()))) {
       if (isPrimary || (isIncluded && resource.isAccessible() && Util.isValidCompilationUnitName(workingCopy.getElementName()))) {
 
         // force opening so that the delta builder can get the old info