Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Sep 21, 2017
1 parent e39fb9a commit 1f9e50c
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import java.nio.charset.Charset;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

import org.jline.terminal.spi.Pty;
import org.jline.utils.InputStreamReader;
Expand All @@ -37,9 +36,6 @@ public class PosixSysTerminal extends AbstractPosixTerminal {
public PosixSysTerminal(String name, String type, Pty pty, Charset encoding,
boolean nativeSignals, SignalHandler signalHandler) throws IOException {
super(name, type, pty, encoding, signalHandler);
if (encoding == null) {
encoding = Charset.defaultCharset();
}
this.input = pty.getSlaveInput();
this.output = pty.getSlaveOutput();
this.reader = new NonBlockingReader(getName(), new InputStreamReader(input, encoding()));
Expand Down

0 comments on commit 1f9e50c

Please # to comment.