mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
remove dead code
This commit is contained in:
parent
7f01771021
commit
fea8676a6c
1 changed files with 0 additions and 3 deletions
|
@ -58,8 +58,6 @@ public final class SmbDirectoryWrapper extends FilterDirectory {
|
||||||
*/
|
*/
|
||||||
static final int CHUNK_SIZE = 8192;
|
static final int CHUNK_SIZE = 8192;
|
||||||
|
|
||||||
private final String name;
|
|
||||||
|
|
||||||
public SmbFSIndexOutput(String name) throws IOException {
|
public SmbFSIndexOutput(String name) throws IOException {
|
||||||
super("SmbFSIndexOutput(path=\"" + fsDirectory.getDirectory().resolve(name) + "\")", new FilterOutputStream(Channels.newOutputStream(Files.newByteChannel(fsDirectory.getDirectory().resolve(name), StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.READ, StandardOpenOption.WRITE))) {
|
super("SmbFSIndexOutput(path=\"" + fsDirectory.getDirectory().resolve(name) + "\")", new FilterOutputStream(Channels.newOutputStream(Files.newByteChannel(fsDirectory.getDirectory().resolve(name), StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.READ, StandardOpenOption.WRITE))) {
|
||||||
// This implementation ensures, that we never write more than CHUNK_SIZE bytes:
|
// This implementation ensures, that we never write more than CHUNK_SIZE bytes:
|
||||||
|
@ -73,7 +71,6 @@ public final class SmbDirectoryWrapper extends FilterDirectory {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, CHUNK_SIZE);
|
}, CHUNK_SIZE);
|
||||||
this.name = name;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue