Fix java 1.4 VM compatibility.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / actions / IncludesScanner.java
index bb1c88f..3858ed8 100644 (file)
@@ -94,11 +94,7 @@ public class IncludesScanner implements ITerminalSymbols {
        }
 
        private void parseIdentifiers(char[] charArray) {
-               char[] ident;
                IFile file;
-               String identifier;
-               int counter = 0;
-
                Scanner scanner = new Scanner(false, false, false, false, true, null,
                                null, true /* taskCaseSensitive */);
                scanner.setSource(charArray);
@@ -120,6 +116,7 @@ public class IncludesScanner implements ITerminalSymbols {
                                                        char[] includeName = scanner
                                                                        .getCurrentStringLiteralSource();
                                                        try {
+                                                           System.out.println(includeName);
                                                                file = getIncludeFile(new String(includeName));
                                                                addFile(file);
                                                        } catch (Exception e) {
@@ -145,7 +142,6 @@ public class IncludesScanner implements ITerminalSymbols {
 
        public IFile getIncludeFile(String relativeFilename) {
                IContainer container = getWorkingLocation(fEditorInput);
-               String fullPath = fProject.getLocation().toString();
                IFile file = null;
                if (relativeFilename.startsWith("../")) {
                        Path path = new Path(relativeFilename);