Skip to content

Commit 9f7f2ab

Browse files
Stephan Brandauertausbn
andcommitted
remove redundant fromSource calls
Co-authored-by: @tausbn <[email protected]>
1 parent 32502d5 commit 9f7f2ab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

java/ql/automodel/src/AutomodelFrameworkModeCharacteristics.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,12 @@ newtype TFrameworkModeEndpoint =
3030
TOverridableParameter(Method m, Parameter p) {
3131
p.getCallable() = m and
3232
m instanceof ModelExclusions::ModelApi and
33-
m.fromSource() and
3433
not m.getDeclaringType().isFinal() and
3534
not m.isFinal() and
3635
not m.isStatic()
3736
} or
3837
TOverridableQualifier(Method m) {
3938
m instanceof ModelExclusions::ModelApi and
40-
m.fromSource() and
4139
not m.getDeclaringType().isFinal() and
4240
not m.isFinal() and
4341
not m.isStatic()

0 commit comments

Comments
 (0)