Fixed bug: ArrayIndexOutOfBoundsException
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / builder / ClasspathDirectory.java
index 9db468d..30a42a8 100644 (file)
@@ -12,7 +12,6 @@ package net.sourceforge.phpdt.internal.core.builder;
 
 import net.sourceforge.phpdt.internal.compiler.env.NameEnvironmentAnswer;
 import net.sourceforge.phpdt.internal.core.util.SimpleLookupTable;
-import net.sourceforge.phpdt.internal.core.util.Util;
 
 import org.eclipse.core.resources.IContainer;
 import org.eclipse.core.resources.IResource;
@@ -30,9 +29,9 @@ String[] missingPackageHolder = new String[1];
 ClasspathDirectory(IContainer binaryFolder, boolean isOutputFolder) {
        this.binaryFolder = binaryFolder;
        this.isOutputFolder = isOutputFolder;
-       IPath location = binaryFolder.getLocation();
-       this.binaryLocation = location != null ? location.addTrailingSeparator().toString() : ""; //$NON-NLS-1$
-
+//     IPath location = binaryFolder.getLocation();
+//     this.binaryLocation = location != null ? location.addTrailingSeparator().toString() : ""; //$NON-NLS-1$
+       this.binaryLocation = "";
        this.directoryCache = new SimpleLookupTable(5);
 }
 
@@ -53,7 +52,7 @@ String[] directoryList(String qualifiedPackageName) {
                        int index = 0;
                        for (int i = 0, l = members.length; i < l; i++) {
                                IResource m = members[i];
-//                             if (m.getType() == IResource.FILE && Util.isClassFileName(m.getName()))
+//                             if (m.getType() == IResource.FILE && ProjectPrefUtil.isClassFileName(m.getName()))
 //                                     // add exclusion pattern check here if we want to hide .class files
 //                                     dirList[index++] = m.getName();
                        }