remove dead code

This commit is contained in:
Simon Willnauer 2016-01-28 17:14:52 +01:00
parent 7f01771021
commit fea8676a6c
1 changed files with 0 additions and 3 deletions

View File

@ -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;
} }
} }
} }