mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user