Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFThreadFilterEditor.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFThreadFilterEditor.java b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFThreadFilterEditor.java
index aeda007aa..0f5cd3f82 100644
--- a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFThreadFilterEditor.java
+++ b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFThreadFilterEditor.java
@@ -150,11 +150,9 @@ public class TCFThreadFilterEditor {
* default. When a container is unchecked, uncheck all its threads.
*/
private void checkContext(Context ctx, boolean checked) {
- if (ctx.fIsContainer) {
- Object[] threads = fContentProvider.getChildren(ctx);
- for (int i = 0; i < threads.length; i++) {
- checkContext((Context) threads[i], checked);
- }
+ Object[] threads = fContentProvider.getChildren(ctx);
+ for (int i = 0; i < threads.length; i++) {
+ checkContext((Context) threads[i], checked);
}
checkThread(ctx, checked);
}
@@ -237,7 +235,7 @@ public class TCFThreadFilterEditor {
{
filteredList.add(obj);
fFilteredContexts.add(obj);
- } else if (context.fIsContainer) {
+ } else {
Object[] childArray = getChildren(obj);
if (childArray != null && childArray.length != 0) {
filteredList.add(obj);

Back to the top