From: incastrix Date: Mon, 12 Oct 2009 18:24:10 +0000 (+0000) Subject: Refactory: remove unused classes, imports, fields and methods. X-Git-Url: http://git.phpeclipse.com Refactory: remove unused classes, imports, fields and methods. --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/SearchableEnvironment.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/SearchableEnvironment.java index 6a405c9..73fe296 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/SearchableEnvironment.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/SearchableEnvironment.java @@ -27,7 +27,7 @@ import net.sourceforge.phpdt.internal.compiler.env.INameEnvironment; import net.sourceforge.phpdt.internal.compiler.env.ISourceType; import net.sourceforge.phpdt.internal.compiler.env.NameEnvironmentAnswer; -import org.eclipse.core.runtime.IProgressMonitor; +//import org.eclipse.core.runtime.IProgressMonitor; /** * This class provides a SearchableBuilderEnvironment for code @@ -200,35 +200,35 @@ public class SearchableEnvironment implements ISearchableNameEnvironment, prefix, lastDotIndex + 1, prefix.length)); } - IProgressMonitor progressMonitor = new IProgressMonitor() { - boolean isCanceled = false; - - public void beginTask(String name, int totalWork) { - } - - public void done() { - } - - public void internalWorked(double work) { - } - - public boolean isCanceled() { - return isCanceled; - } - - public void setCanceled(boolean value) { - isCanceled = value; - } - - public void setTaskName(String name) { - } - - public void subTask(String name) { - } - - public void worked(int work) { - } - }; +// IProgressMonitor progressMonitor = new IProgressMonitor() { +// boolean isCanceled = false; +// +// public void beginTask(String name, int totalWork) { +// } +// +// public void done() { +// } +// +// public void internalWorked(double work) { +// } +// +// public boolean isCanceled() { +// return isCanceled; +// } +// +// public void setCanceled(boolean value) { +// isCanceled = value; +// } +// +// public void setTaskName(String name) { +// } +// +// public void subTask(String name) { +// } +// +// public void worked(int work) { +// } +// }; ITypeNameRequestor nameRequestor = new ITypeNameRequestor() { public void acceptClass(char[] packageName, char[] simpleTypeName, char[][] enclosingTypeNames, String path) { diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/builder/PHPBuilder.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/builder/PHPBuilder.java index c3c2595..b6eebad 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/builder/PHPBuilder.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/builder/PHPBuilder.java @@ -420,7 +420,7 @@ public class PHPBuilder extends IncrementalProjectBuilder { return null; } Object[] keyTable = binaryLocationsPerProject.keyTable; - Object[] valueTable = binaryLocationsPerProject.valueTable; + //Object[] valueTable = binaryLocationsPerProject.valueTable; nextProject: for (int i = 0, l = keyTable.length; i < l; i++) { IProject p = (IProject) keyTable[i]; if (p != null && p != currentProject) {