Ensure propertiesFiles is not null

This allows a usage check to succeed.
pull/257/head
Andrew Gaul 2018-01-09 13:45:05 -08:00
rodzic 6658f964f2
commit fa3394e0ab
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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<File> propertiesFiles;
private List<File> propertiesFiles = new ArrayList<>();
@Option(name = "--version", usage = "display version")
private boolean version;