mirror of
https://github.com/github/codeql.git
synced 2026-02-23 10:23:41 +01:00
Remove redundant instanceof expression
This commit is contained in:
@@ -90,10 +90,7 @@ module SuperCall {
|
||||
private class RegularSuperCallRange extends SuperCall::Range, @call {
|
||||
final override Generated::Call generated;
|
||||
|
||||
RegularSuperCallRange() {
|
||||
generated = this and
|
||||
generated.getMethod() instanceof Generated::Super
|
||||
}
|
||||
RegularSuperCallRange() { generated.getMethod() instanceof Generated::Super }
|
||||
|
||||
final override Expr getReceiver() { none() }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user