Java: Apply suggestions from code review

Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
Stephan Brandauer
2023-09-08 13:54:26 +02:00
committed by GitHub
parent 4effc11fdb
commit 704c7ee104

View File

@@ -544,7 +544,6 @@ private class CannotBeTaintedCharacteristic extends CharacteristicsImpl::LikelyN
CannotBeTaintedCharacteristic() { this = "cannot be tainted" }
override predicate appliesToEndpoint(Endpoint e) {
// XXX consider source candidate endpoints
e.getExtensibleType() = "sinkModel" and
not this.isKnownOutNodeForStep(e)
}