diff --git a/src/main/java/org/gaul/s3proxy/Main.java b/src/main/java/org/gaul/s3proxy/Main.java index a5efd65..14dd5c6 100644 --- a/src/main/java/org/gaul/s3proxy/Main.java +++ b/src/main/java/org/gaul/s3proxy/Main.java @@ -23,6 +23,7 @@ import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java.nio.charset.StandardCharsets; +import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Properties; @@ -64,7 +65,7 @@ public final class Main { private static final class Options { @Option(name = "--properties", usage = "S3Proxy configuration (required, multiple allowed)") - private List propertiesFiles; + private List propertiesFiles = new ArrayList<>(); @Option(name = "--version", usage = "display version") private boolean version;