From e98a517d8540c42dd14df9cc8cd25034e739fded Mon Sep 17 00:00:00 2001 From: incastrix Date: Wed, 23 Dec 2009 17:39:26 +0000 Subject: [PATCH 1/1] Refactory: remove unused classes, imports, fields and methods. --- .../ui/overlaypages/ProjectPrefUtil.java | 8 ++++---- .../template/BasicCompletionProcessor.java | 8 ++++---- .../phpeclipse/ui/text/AbstractTextTools.java | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/overlaypages/ProjectPrefUtil.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/overlaypages/ProjectPrefUtil.java index 7737f47..ce4d32e 100644 --- a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/overlaypages/ProjectPrefUtil.java +++ b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/overlaypages/ProjectPrefUtil.java @@ -74,10 +74,10 @@ public class ProjectPrefUtil { PHPPreviewProjectPreferences.PREF_ID, key).equals("true"); } - public static String getPreviewStringValue(IResource resource, String key) { - return getOverlayedPrefResourceValue(resource, - PHPPreviewProjectPreferences.PREF_ID, key); - } +// public static String getPreviewStringValue(IResource resource, String key) { +// return getOverlayedPrefResourceValue(resource, +// PHPPreviewProjectPreferences.PREF_ID, key); +// } private static String getProperty(IResource resource, String pageId, String key) { diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/templates/template/BasicCompletionProcessor.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/templates/template/BasicCompletionProcessor.java index 1a25f97..757544f 100644 --- a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/templates/template/BasicCompletionProcessor.java +++ b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/templates/template/BasicCompletionProcessor.java @@ -181,10 +181,10 @@ public class BasicCompletionProcessor extends TemplateCompletionProcessor { * @param activationSet * the activation set */ - public void setCompletionProposalAutoActivationCharacters( - char[] activationSet) { - fProposalAutoActivationSet = activationSet; - } +// public void setCompletionProposalAutoActivationCharacters( +// char[] activationSet) { +// fProposalAutoActivationSet = activationSet; +// } /** * Order the given proposals. diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/text/AbstractTextTools.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/text/AbstractTextTools.java index cfa3247..86c0321 100644 --- a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/text/AbstractTextTools.java +++ b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/text/AbstractTextTools.java @@ -147,9 +147,9 @@ public class AbstractTextTools { * * @return the color manager to be used for XML text viewers */ - public ColorManager getColorManager() { - return colorManager; - } +// public ColorManager getColorManager() { +// return colorManager; +// } public Map getTokens() { return tokens; -- 1.7.1