X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/PackageFragmentRootInfo.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/PackageFragmentRootInfo.java index 45bdc6b..3f3557b 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/PackageFragmentRootInfo.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/PackageFragmentRootInfo.java @@ -10,7 +10,7 @@ *******************************************************************************/ package net.sourceforge.phpdt.internal.core; -import net.sourceforge.phpdt.core.IClasspathEntry; +//import net.sourceforge.phpdt.core.IClasspathEntry; import net.sourceforge.phpdt.core.IJavaProject; import net.sourceforge.phpdt.core.IPackageFragmentRoot; import net.sourceforge.phpdt.core.JavaModelException; @@ -19,7 +19,7 @@ import net.sourceforge.phpdt.internal.core.util.Util; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IPath; +//import org.eclipse.core.runtime.IPath; /** * The element info for PackageFragmentRoots. @@ -66,8 +66,8 @@ class PackageFragmentRootInfo extends OpenableElementInfo { Object[] nonJavaResources = new IResource[5]; int nonJavaResourcesCounter = 0; try { - IClasspathEntry[] classpath = project - .getResolvedClasspath(true/* ignore unresolved variable */); +// IClasspathEntry[] classpath = project +// .getResolvedClasspath(true/* ignore unresolved variable */); IResource[] members = folder.members(); nextResource: for (int i = 0, max = members.length; i < max; i++) { IResource member = members[i]; @@ -178,16 +178,16 @@ class PackageFragmentRootInfo extends OpenableElementInfo { // protected synchronized SourceMapper getSourceMapper() { // return this.sourceMapper; // } - private static boolean isClasspathEntry(IPath path, - IClasspathEntry[] resolvedClasspath) { - for (int i = 0, length = resolvedClasspath.length; i < length; i++) { - IClasspathEntry entry = resolvedClasspath[i]; - if (entry.getPath().equals(path)) { - return true; - } - } - return false; - } +// private static boolean isClasspathEntry(IPath path, +// IClasspathEntry[] resolvedClasspath) { +// for (int i = 0, length = resolvedClasspath.length; i < length; i++) { +// IClasspathEntry entry = resolvedClasspath[i]; +// if (entry.getPath().equals(path)) { +// return true; +// } +// } +// return false; +// } /** * Set the fNonJavaResources to res value