kopia lustrzana https://github.com/gaul/s3proxy
Ensure propertiesFiles is not null
This allows a usage check to succeed.pull/257/head
rodzic
6658f964f2
commit
fa3394e0ab
|
@ -23,6 +23,7 @@ import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.PrintStream;
|
import java.io.PrintStream;
|
||||||
import java.nio.charset.StandardCharsets;
|
import java.nio.charset.StandardCharsets;
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
@ -64,7 +65,7 @@ public final class Main {
|
||||||
private static final class Options {
|
private static final class Options {
|
||||||
@Option(name = "--properties",
|
@Option(name = "--properties",
|
||||||
usage = "S3Proxy configuration (required, multiple allowed)")
|
usage = "S3Proxy configuration (required, multiple allowed)")
|
||||||
private List<File> propertiesFiles;
|
private List<File> propertiesFiles = new ArrayList<>();
|
||||||
|
|
||||||
@Option(name = "--version", usage = "display version")
|
@Option(name = "--version", usage = "display version")
|
||||||
private boolean version;
|
private boolean version;
|
||||||
|
|
Ładowanie…
Reference in New Issue