java: use empty value as replication default

This commit is contained in:
Chris Lu 2021-08-07 14:54:00 -07:00
parent ecb234f75a
commit d2b3416d1c

View file

@ -32,10 +32,10 @@ public class SeaweedOutputStream extends OutputStream {
private long lastTotalAppendOffset = 0; private long lastTotalAppendOffset = 0;
private ByteBuffer buffer; private ByteBuffer buffer;
private long outputIndex; private long outputIndex;
private String replication = "000"; private String replication = "";
public SeaweedOutputStream(FilerClient filerClient, final String fullpath) { public SeaweedOutputStream(FilerClient filerClient, final String fullpath) {
this(filerClient, fullpath, "000"); this(filerClient, fullpath, "");
} }
public SeaweedOutputStream(FilerClient filerClient, final String fullpath, final String replication) { public SeaweedOutputStream(FilerClient filerClient, final String fullpath, final String replication) {