1) Reintroduced some out commented methods. (Did break some preference settings)
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / builder / IdentifierIndexManager.java
index fc7e3c6..639f165 100644 (file)
@@ -385,7 +385,8 @@ public class IdentifierIndexManager {
                                                                                        skipComments();
                                                                                }
                                                                        }       
-                                                               } while (fToken != TokenNameRPAREN );
+                                                                       getNextToken ();
+                                                               } while ((fToken != TokenNameRPAREN) && (fToken != 0));
                                                        }
                                                        parseDeclarations(null, buf, true);
                                                }
@@ -468,7 +469,7 @@ public class IdentifierIndexManager {
                }
 
                public boolean equals(Object o) {
-                       String s = (String) o;
+                       //String s = (String) o;
                        return compare(this, o) == 0;
                }
        }
@@ -576,7 +577,7 @@ public class IdentifierIndexManager {
                String line = (String) fFileMap.get(file.getProjectRelativePath()
                                .toString());
                if (line != null) {
-                       PHPIdentifierLocation ident;
+                       //PHPIdentifierLocation ident;
                        ArrayList allClassNames = new ArrayList();
                        addLine(treeMap, null, line, allClassNames);
                        int i = 0;
@@ -588,7 +589,7 @@ public class IdentifierIndexManager {
        }
 
        public void addIdentifiers(TreeMap treeMap, String startClazz) {
-               PHPIdentifierLocation ident;
+               //PHPIdentifierLocation ident;
                ArrayList allClassNames = new ArrayList();
                addClassName(treeMap, startClazz, allClassNames);
                int i = 0;