Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / builder / IncrementalImageBuilder.java
index 20e5913..3a47e0e 100644 (file)
@@ -632,39 +632,39 @@ public class IncrementalImageBuilder extends AbstractImageBuilder {
                }
        }
 
-       protected void finishedWith(String sourceLocator, CompilationResult result,
-                       char[] mainTypeName, ArrayList definedTypeNames,
-                       ArrayList duplicateTypeNames) throws CoreException {
-               // char[][] previousTypeNames =
-               // newState.getDefinedTypeNamesFor(sourceLocator);
-               // if (previousTypeNames == null)
-               // previousTypeNames = new char[][]{mainTypeName};
-               // IPath packagePath = null;
-               // next : for (int i = 0, l = previousTypeNames.length; i < l; i++) {
-               // char[] previous = previousTypeNames[i];
-               // for (int j = 0, m = definedTypeNames.size(); j < m; j++)
-               // if (CharOperation.equals(previous, (char[]) definedTypeNames.get(j)))
-               // continue next;
-               // SourceFile sourceFile = (SourceFile) result.getCompilationUnit();
-               // if (packagePath == null) {
-               // int count = sourceFile.sourceLocation.sourceFolder.getFullPath()
-               // .segmentCount();
-               // packagePath = sourceFile.resource.getFullPath().removeFirstSegments(
-               // count).removeLastSegments(1);
-               // }
-               // if (secondaryTypesToRemove == null)
-               // this.secondaryTypesToRemove = new SimpleLookupTable();
-               // ArrayList types = (ArrayList) secondaryTypesToRemove
-               // .get(sourceFile.sourceLocation.binaryFolder);
-               // if (types == null)
-               // types = new ArrayList(definedTypeNames.size());
-               // types.add(packagePath.append(new String(previous)));
-               // secondaryTypesToRemove.put(sourceFile.sourceLocation.binaryFolder,
-               // types);
-               // }
-               // super.finishedWith(sourceLocator, result, mainTypeName,
-               // definedTypeNames, duplicateTypeNames);
-       }
+//     protected void finishedWith(String sourceLocator, CompilationResult result,
+//                     char[] mainTypeName, ArrayList definedTypeNames,
+//                     ArrayList duplicateTypeNames) throws CoreException {
+//             // char[][] previousTypeNames =
+//             // newState.getDefinedTypeNamesFor(sourceLocator);
+//             // if (previousTypeNames == null)
+//             // previousTypeNames = new char[][]{mainTypeName};
+//             // IPath packagePath = null;
+//             // next : for (int i = 0, l = previousTypeNames.length; i < l; i++) {
+//             // char[] previous = previousTypeNames[i];
+//             // for (int j = 0, m = definedTypeNames.size(); j < m; j++)
+//             // if (CharOperation.equals(previous, (char[]) definedTypeNames.get(j)))
+//             // continue next;
+//             // SourceFile sourceFile = (SourceFile) result.getCompilationUnit();
+//             // if (packagePath == null) {
+//             // int count = sourceFile.sourceLocation.sourceFolder.getFullPath()
+//             // .segmentCount();
+//             // packagePath = sourceFile.resource.getFullPath().removeFirstSegments(
+//             // count).removeLastSegments(1);
+//             // }
+//             // if (secondaryTypesToRemove == null)
+//             // this.secondaryTypesToRemove = new SimpleLookupTable();
+//             // ArrayList types = (ArrayList) secondaryTypesToRemove
+//             // .get(sourceFile.sourceLocation.binaryFolder);
+//             // if (types == null)
+//             // types = new ArrayList(definedTypeNames.size());
+//             // types.add(packagePath.append(new String(previous)));
+//             // secondaryTypesToRemove.put(sourceFile.sourceLocation.binaryFolder,
+//             // types);
+//             // }
+//             // super.finishedWith(sourceLocator, result, mainTypeName,
+//             // definedTypeNames, duplicateTypeNames);
+//     }
 
        // protected void removeClassFile(IPath typePath, IContainer outputFolder)
        // throws CoreException {