Update java/ql/src/Violations of Best Practice/Undesirable Calls/CallsToSystemExit.ql

Co-authored-by: Michael Nebel <michaelnebel@github.com>
This commit is contained in:
Napalys Klicius
2025-08-22 16:09:46 +02:00
committed by GitHub
parent eb6e9b8fe6
commit 4a693d9b60

View File

@@ -62,7 +62,6 @@ class SourceMethodNotMainOrTest extends Method {
SourceMethodNotMainOrTest() {
this.fromSource() and
not this instanceof MainMethod and
not this instanceof LikelyTestMethod and
not (
this.getEnclosingCallable*() instanceof LikelyTestMethod
or