mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
remove dead code
This commit is contained in:
parent
7f01771021
commit
fea8676a6c
@ -58,8 +58,6 @@ public final class SmbDirectoryWrapper extends FilterDirectory {
|
||||
*/
|
||||
static final int CHUNK_SIZE = 8192;
|
||||
|
||||
private final String name;
|
||||
|
||||
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))) {
|
||||
// This implementation ensures, that we never write more than CHUNK_SIZE bytes:
|
||||
@ -73,7 +71,6 @@ public final class SmbDirectoryWrapper extends FilterDirectory {
|
||||
}
|
||||
}
|
||||
}, CHUNK_SIZE);
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user