Refactory: remove unused classes, imports, fields and methods.
authorincastrix <incastrix>
Mon, 12 Oct 2009 18:24:10 +0000 (18:24 +0000)
committerincastrix <incastrix>
Mon, 12 Oct 2009 18:24:10 +0000 (18:24 +0000)
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/SearchableEnvironment.java
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/builder/PHPBuilder.java

index 6a405c9..73fe296 100644 (file)
@@ -27,7 +27,7 @@ import net.sourceforge.phpdt.internal.compiler.env.INameEnvironment;
 import net.sourceforge.phpdt.internal.compiler.env.ISourceType;
 import net.sourceforge.phpdt.internal.compiler.env.NameEnvironmentAnswer;
 
-import org.eclipse.core.runtime.IProgressMonitor;
+//import org.eclipse.core.runtime.IProgressMonitor;
 
 /**
  * This class provides a <code>SearchableBuilderEnvironment</code> for code
@@ -200,35 +200,35 @@ public class SearchableEnvironment implements ISearchableNameEnvironment,
                                        prefix, lastDotIndex + 1, prefix.length));
                }
 
-               IProgressMonitor progressMonitor = new IProgressMonitor() {
-                       boolean isCanceled = false;
-
-                       public void beginTask(String name, int totalWork) {
-                       }
-
-                       public void done() {
-                       }
-
-                       public void internalWorked(double work) {
-                       }
-
-                       public boolean isCanceled() {
-                               return isCanceled;
-                       }
-
-                       public void setCanceled(boolean value) {
-                               isCanceled = value;
-                       }
-
-                       public void setTaskName(String name) {
-                       }
-
-                       public void subTask(String name) {
-                       }
-
-                       public void worked(int work) {
-                       }
-               };
+//             IProgressMonitor progressMonitor = new IProgressMonitor() {
+//                     boolean isCanceled = false;
+//
+//                     public void beginTask(String name, int totalWork) {
+//                     }
+//
+//                     public void done() {
+//                     }
+//
+//                     public void internalWorked(double work) {
+//                     }
+//
+//                     public boolean isCanceled() {
+//                             return isCanceled;
+//                     }
+//
+//                     public void setCanceled(boolean value) {
+//                             isCanceled = value;
+//                     }
+//
+//                     public void setTaskName(String name) {
+//                     }
+//
+//                     public void subTask(String name) {
+//                     }
+//
+//                     public void worked(int work) {
+//                     }
+//             };
                ITypeNameRequestor nameRequestor = new ITypeNameRequestor() {
                        public void acceptClass(char[] packageName, char[] simpleTypeName,
                                        char[][] enclosingTypeNames, String path) {
index c3c2595..b6eebad 100644 (file)
@@ -420,7 +420,7 @@ public class PHPBuilder extends IncrementalProjectBuilder {
                        return null;
                }
                Object[] keyTable = binaryLocationsPerProject.keyTable;
-               Object[] valueTable = binaryLocationsPerProject.valueTable;
+               //Object[] valueTable = binaryLocationsPerProject.valueTable;
                nextProject: for (int i = 0, l = keyTable.length; i < l; i++) {
                        IProject p = (IProject) keyTable[i];
                        if (p != null && p != currentProject) {