Skip to content

Commit 4a693d9

Browse files
Update java/ql/src/Violations of Best Practice/Undesirable Calls/CallsToSystemExit.ql
Co-authored-by: Michael Nebel <[email protected]>
1 parent eb6e9b8 commit 4a693d9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ class SourceMethodNotMainOrTest extends Method {
6262
SourceMethodNotMainOrTest() {
6363
this.fromSource() and
6464
not this instanceof MainMethod and
65-
not this instanceof LikelyTestMethod and
6665
not (
6766
this.getEnclosingCallable*() instanceof LikelyTestMethod
6867
or

0 commit comments

Comments
 (0)