Skip to content

Commit 36aabc0

Browse files
Stephan Brandaueradityasharad
andauthored
Update java/ql/src/Telemetry/AutomodelFrameworkModeCharacteristics.qll
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com>
1 parent 32f2614 commit 36aabc0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

java/ql/src/Telemetry/AutomodelFrameworkModeCharacteristics.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,7 @@ private class UnexploitableExistsCharacteristic extends CharacteristicsImpl::Not
190190
exists(Callable callable |
191191
callable = getCallable(e) and
192192
(
193-
callable.getName().toLowerCase() = "exists" or
194-
callable.getName().toLowerCase() = "notexists"
193+
callable.getName().toLowerCase() = ["exists", "notexists"]
195194
) and
196195
callable.getReturnType() instanceof BooleanType
197196
)

0 commit comments

Comments
 (0)