From: incastrix Date: Wed, 23 Dec 2009 17:26:24 +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.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