Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / builder / NameEnvironment.java
index 3a97ad7..32a8696 100644 (file)
@@ -13,7 +13,7 @@ package net.sourceforge.phpdt.internal.core.builder;
 import java.util.ArrayList;
 
 import net.sourceforge.phpdt.core.IClasspathEntry;
-import net.sourceforge.phpdt.core.IJavaProject;
+//import net.sourceforge.phpdt.core.IJavaProject;
 import net.sourceforge.phpdt.core.JavaCore;
 import net.sourceforge.phpdt.core.compiler.CharOperation;
 import net.sourceforge.phpdt.internal.compiler.env.INameEnvironment;
@@ -54,17 +54,17 @@ public class NameEnvironment implements INameEnvironment {
                setNames(null, null);
        }
 
-       public NameEnvironment(IJavaProject javaProject) {
-               this.isIncrementalBuild = false;
-               try {
-                       computeClasspathLocations(javaProject.getProject().getWorkspace()
-                                       .getRoot(), (JavaProject) javaProject, null);
-               } catch (CoreException e) {
-                       // this.sourceLocations = new ClasspathMultiDirectory[0];
-                       // this.binaryLocations = new ClasspathLocation[0];
-               }
-               setNames(null, null);
-       }
+//     public NameEnvironment(IJavaProject javaProject) {
+//             this.isIncrementalBuild = false;
+//             try {
+//                     computeClasspathLocations(javaProject.getProject().getWorkspace()
+//                                     .getRoot(), (JavaProject) javaProject, null);
+//             } catch (CoreException e) {
+//                     // this.sourceLocations = new ClasspathMultiDirectory[0];
+//                     // this.binaryLocations = new ClasspathLocation[0];
+//             }
+//             setNames(null, null);
+//     }
 
        /*
         * Some examples of resolved class path entries. Remember to search class