Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2006-02-24 18:11:17 +0000
committerDarin Swanson2006-02-24 18:11:17 +0000
commit459da5f5e184f661c6d48eb7e7569480bd59ac9f (patch)
treedd50fbb59dafa3eb34ab11e3b11132476b5c60a6 /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints
parente5a8b0ba8a40c45c5798e4a4e5d71bc77e943fe9 (diff)
downloadeclipse.platform.debug-459da5f5e184f661c6d48eb7e7569480bd59ac9f.tar.gz
eclipse.platform.debug-459da5f5e184f661c6d48eb7e7569480bd59ac9f.tar.xz
eclipse.platform.debug-459da5f5e184f661c6d48eb7e7569480bd59ac9f.zip
Bug 129379 - Incorrect logic in BreakpointTypeOrganizer
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointTypeOrganizer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointTypeOrganizer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointTypeOrganizer.java
index cc39f543a..613072513 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointTypeOrganizer.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointTypeOrganizer.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
+ * Copyright (c) 2000, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -40,9 +40,9 @@ public class BreakpointTypeOrganizer extends AbstractBreakpointOrganizerDelegate
String name = DebugPlugin.getDefault().getBreakpointManager().getTypeName(breakpoint);
if (name != null) {
IAdaptable[] categories = (IAdaptable[]) fTypes.get(name);
- if (category == null) {
+ if (categories == null) {
categories = new IAdaptable[]{new BreakpointTypeCategory(name)};
- fTypes.put(name, category);
+ fTypes.put(name, categories);
}
return categories;
}

Back to the top