Skip to content

Commit b38bc52

Browse files
author
Stephan Brandauer
committed
Java: fix bug in ExcludedFromModeling Characteristic
1 parent 2921df4 commit b38bc52

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

java/ql/src/Telemetry/AutomodelApplicationModeCharacteristics.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,7 @@ private class ExcludedFromModeling extends CharacteristicsImpl::UninterestingToM
294294
ExcludedFromModeling() { this = "excluded from modeling" }
295295

296296
override predicate appliesToEndpoint(Endpoint e) {
297-
ModelExclusions::isUninterestingForModels(ApplicationModeGetCallable::getCallable(e)) or
298-
ModelExclusions::isUninterestingForModels(e.getEnclosingCallable())
297+
ModelExclusions::isUninterestingForModels(ApplicationModeGetCallable::getCallable(e))
299298
}
300299
}
301300

0 commit comments

Comments
 (0)