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 a437a4e4b8
commit d2447ab54e

View file

@ -158,6 +158,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");