Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / builder / State.java
index e5f273f..67b551f 100644 (file)
@@ -20,7 +20,7 @@ import net.sourceforge.phpdt.internal.core.util.SimpleLookupTable;
 import org.eclipse.core.resources.IProject;
 import org.eclipse.core.resources.IResource;
 import org.eclipse.core.resources.IResourceDelta;
-import org.eclipse.core.runtime.IPath;
+//import org.eclipse.core.runtime.IPath;
 
 public class State {
        // NOTE: this state cannot contain types that are not defined in this
@@ -45,7 +45,7 @@ public class State {
 
        SimpleLookupTable structuralBuildTimes;
 
-       private String[] knownPackageNames; // of the form "p1/p2"
+       //private String[] knownPackageNames; // of the form "p1/p2"
 
        static final byte VERSION = 0x0007;
 
@@ -59,7 +59,7 @@ public class State {
        }
 
        protected State(PHPBuilder javaBuilder) {
-               this.knownPackageNames = null;
+               //this.knownPackageNames = null;
                this.javaProjectName = javaBuilder.currentProject.getName();
                this.sourceLocations = javaBuilder.nameEnvironment.sourceLocations;
                // this.binaryLocations = javaBuilder.nameEnvironment.binaryLocations;
@@ -73,7 +73,7 @@ public class State {
 
        void copyFrom(State lastState) {
                // try {
-               this.knownPackageNames = null;
+               //this.knownPackageNames = null;
                this.buildNumber = lastState.buildNumber + 1;
                this.lastStructuralBuildTime = lastState.lastStructuralBuildTime;
                // this.references = (SimpleLookupTable) lastState.references.clone();
@@ -179,7 +179,7 @@ public class State {
                                removePackage(children[i]);
                        return;
                case IResource.FILE:
-                       IPath typeLocatorPath = resource.getProjectRelativePath();
+                       //IPath typeLocatorPath = resource.getProjectRelativePath();
                        // if
                        // (ProjectPrefUtil.isJavaFileName(typeLocatorPath.lastSegment()))
                        // removeLocator(typeLocatorPath.toString());