We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0b57a4 commit 7aa9c21Copy full SHA for 7aa9c21
1 file changed
java-checks/src/main/java/org/sonar/java/checks/SwitchAtLeastThreeCasesCheck.java
@@ -21,7 +21,6 @@
21
22
import org.sonar.check.Rule;
23
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
24
-import org.sonar.plugins.java.api.JavaFileScannerContext;
25
import org.sonar.plugins.java.api.tree.CaseGroupTree;
26
import org.sonar.plugins.java.api.tree.SwitchStatementTree;
27
import org.sonar.plugins.java.api.tree.Tree;
@@ -31,8 +30,6 @@
31
30
@Rule(key = "S1301")
32
public class SwitchAtLeastThreeCasesCheck extends IssuableSubscriptionVisitor {
33
34
- private JavaFileScannerContext context;
35
-
36
@Override
37
public List<Tree.Kind> nodesToVisit() {
38
return List.of(Tree.Kind.SWITCH_STATEMENT);
0 commit comments