Disable MethodLength checkstyle on createOptions()

This method will grow as needed to initialize options.
This commit is contained in:
Romain Vimont 2023-02-19 02:27:39 +01:00
parent 5ba37b0522
commit 38e317f3b7

View file

@ -157,6 +157,7 @@ public final class Server {
return thread;
}
@SuppressWarnings("MethodLength")
private static Options createOptions(String... args) {
if (args.length < 1) {
throw new IllegalArgumentException("Missing client version");