Skip to content

Commit afc5aed

Browse files
author
Stephan Brandauer
committed
Java: enable exception characteristic also for source candidates
1 parent a526b79 commit afc5aed

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

java/ql/automodel/src/AutomodelApplicationModeCharacteristics.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ private class ExceptionCharacteristic extends CharacteristicsImpl::NotASinkChara
329329
ExceptionCharacteristic() { this = "exception" }
330330

331331
override predicate appliesToEndpoint(Endpoint e) {
332-
e.getExtensibleType() = "sinkModel" and
333332
ApplicationModeGetCallable::getCallable(e).getDeclaringType().getASupertype*() instanceof
334333
TypeThrowable
335334
}

0 commit comments

Comments
 (0)