From 20df509de74f8fd885ac0cd229b4eddc2b90a79a Mon Sep 17 00:00:00 2001 From: incastrix Date: Wed, 23 Dec 2009 17:26:24 +0000 Subject: [PATCH 1/1] Refactory: remove unused classes, imports, fields and methods. --- .../phpdt/debug/core/PHPDebugModel.java | 22 ++++++++++---------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/debug/core/PHPDebugModel.java b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/debug/core/PHPDebugModel.java index 007cd10..71e422a 100644 --- a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/debug/core/PHPDebugModel.java +++ b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/debug/core/PHPDebugModel.java @@ -20,7 +20,7 @@ import net.sourceforge.phpdt.internal.debug.core.breakpoints.PHPLineBreakpoint; //import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.Preferences; +//import org.eclipse.core.runtime.Preferences; import org.eclipse.debug.core.DebugPlugin; import org.eclipse.debug.core.IBreakpointManager; import org.eclipse.debug.core.model.IBreakpoint; @@ -152,22 +152,22 @@ public class PHPDebugModel { * * @return the preference store for this plug-in */ - public static Preferences getPreferences() { - PHPDebugCorePlugin deflt = PHPDebugCorePlugin.getDefault(); - if (deflt != null) { - return deflt.getPluginPreferences(); - } - return null; - } +// public static Preferences getPreferences() { +// PHPDebugCorePlugin deflt = PHPDebugCorePlugin.getDefault(); +// if (deflt != null) { +// return deflt.getPluginPreferences(); +// } +// return null; +// } /** * Saves the preference store for this plug-in. * * @return the preference store for this plug-in */ - public static void savePreferences() { - PHPDebugCorePlugin.getDefault().savePluginPreferences(); - } +// public static void savePreferences() { +// PHPDebugCorePlugin.getDefault().savePluginPreferences(); +// } /** * Creates and returns a debug target for the given VM, with the specified -- 1.7.1