Skip to content

Commit 919203a

Browse files
committed
Address review comment
1 parent 386b89a commit 919203a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

csharp/ql/src/Language Abuse/UselessUpcast.ql

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,7 @@ class ExplicitUpcast extends ExplicitCast {
149149
this.isDisambiguatingStaticCall(other, args)
150150
|
151151
args >= getMinimumArguments(other) and
152-
(
153-
not exists(getMaximumArguments(other))
154-
or
155-
args <= getMaximumArguments(other)
156-
)
152+
not args > getMaximumArguments(other)
157153
)
158154
}
159155

0 commit comments

Comments
 (0)