Java: fix bug in ExcludedFromModeling Characteristic

This commit is contained in:
Stephan Brandauer
2023-06-09 14:57:56 +02:00
parent 2921df41da
commit b38bc52019

View File

@@ -294,8 +294,7 @@ private class ExcludedFromModeling extends CharacteristicsImpl::UninterestingToM
ExcludedFromModeling() { this = "excluded from modeling" }
override predicate appliesToEndpoint(Endpoint e) {
ModelExclusions::isUninterestingForModels(ApplicationModeGetCallable::getCallable(e)) or
ModelExclusions::isUninterestingForModels(e.getEnclosingCallable())
ModelExclusions::isUninterestingForModels(ApplicationModeGetCallable::getCallable(e))
}
}