Fix expected parameters count in error message
This commit is contained in:
parent
91ecb4f218
commit
439b009a79
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ public final class Server {
|
||||||
@SuppressWarnings("checkstyle:MagicNumber")
|
@SuppressWarnings("checkstyle:MagicNumber")
|
||||||
private static Options createOptions(String... args) {
|
private static Options createOptions(String... args) {
|
||||||
if (args.length != 6) {
|
if (args.length != 6) {
|
||||||
throw new IllegalArgumentException("Expecting 5 parameters");
|
throw new IllegalArgumentException("Expecting 6 parameters");
|
||||||
}
|
}
|
||||||
|
|
||||||
Options options = new Options();
|
Options options = new Options();
|
||||||
|
|
Loading…
Reference in a new issue