Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2002-06-18 17:11:52 -0400
committerDarin Swanson2002-06-18 17:11:52 -0400
commit05554a6add082d22d67cf3cfc5b12d2fdf344db6 (patch)
treed31da78e25ca6083a04151c05bcde228ef8fc5a4 /org.eclipse.debug.ui
parentd91ce4b34c9c68dcd8649f76c33110a3819418c9 (diff)
downloadeclipse.platform.debug-05554a6add082d22d67cf3cfc5b12d2fdf344db6.tar.gz
eclipse.platform.debug-05554a6add082d22d67cf3cfc5b12d2fdf344db6.tar.xz
eclipse.platform.debug-05554a6add082d22d67cf3cfc5b12d2fdf344db6.zip
Bug 20594 - Preference listeners should use equals, not ==v20020618
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java
index 16a771c8e..fdd962c60 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java
@@ -917,7 +917,7 @@ public class LaunchView extends AbstractDebugEventHandlerView implements ISelect
* @see IPropertyChangeListener#propertyChange(PropertyChangeEvent)
*/
public void propertyChange(PropertyChangeEvent event) {
- if (event.getProperty() == IDebugUIConstants.PREF_REUSE_EDITOR) {
+ if (event.getProperty().equals(IDebugUIConstants.PREF_REUSE_EDITOR)) {
fReuseEditor = DebugUIPlugin.getDefault().getPreferenceStore().getBoolean(IDebugUIConstants.PREF_REUSE_EDITOR);
}
}

Back to the top