Browse Source

java: use empty value as replication default

pull/2252/head
Chris Lu 3 years ago
parent
commit
d2b3416d1c
  1. 4
      other/java/client/src/main/java/seaweedfs/client/SeaweedOutputStream.java

4
other/java/client/src/main/java/seaweedfs/client/SeaweedOutputStream.java

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

Loading…
Cancel
Save