Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/viewsupport/SelectionListenerWithASTManager.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/viewsupport/SelectionListenerWithASTManager.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/viewsupport/SelectionListenerWithASTManager.java
index 23a85606e6b..4c45c782719 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/viewsupport/SelectionListenerWithASTManager.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/viewsupport/SelectionListenerWithASTManager.java
@@ -57,13 +57,7 @@ public class SelectionListenerWithASTManager {
private static class SingletonRule implements ISchedulingRule {
public boolean contains(ISchedulingRule rule) {
- //if(rule instanceof SingletonRule) {
- return rule == this;
- /*}
-
- else {
- return true;
- }*/
+ return rule == this;
}
public boolean isConflicting(ISchedulingRule rule) {
return rule == this;

Back to the top