mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
java: use empty value as replication default
This commit is contained in:
parent
ecb234f75a
commit
d2b3416d1c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue