Skip to content

Commit 561f06a

Browse files
committed
Remove unused predicate
1 parent e9603f0 commit 561f06a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

java/ql/lib/semmle/code/java/Statement.qll

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -450,13 +450,6 @@ class SwitchCase extends Stmt, @case {
450450
result = this.getSwitch().getExpr() or result = this.getSwitchExpr().getExpr()
451451
}
452452

453-
/**
454-
* Gets the `i`th case in this case's switch block.
455-
*/
456-
SwitchCase getSiblingCase(int i) {
457-
result = this.getSwitch().getCase(i) or result = this.getSwitchExpr().getCase(i)
458-
}
459-
460453
/**
461454
* Gets this case's ordinal in its switch block.
462455
*/

0 commit comments

Comments
 (0)