mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Java: Improved java/jvm-exit query to remove FP's.
This commit is contained in:
@@ -32,6 +32,6 @@ public class ExampleSystemExit {
|
||||
|
||||
protected static void printUsageAndExit(final String message, final int exitCode) {
|
||||
System.err.println("Usage: <example_cmd> <example_args> : " + message);
|
||||
System.exit(exitCode); // $ SPURIOUS: Alert
|
||||
System.exit(exitCode); // COMPLIANT
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user