Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
s1monw committed Jan 28, 2016
1 parent 7f01771 commit fea8676
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ final class SmbFSIndexOutput extends OutputStreamIndexOutput {
*/
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:
Expand All @@ -73,7 +71,6 @@ public void write(byte[] b, int offset, int length) throws IOException {
}
}
}, CHUNK_SIZE);
this.name = name;
}
}
}

0 comments on commit fea8676

Please sign in to comment.