Skip to content

Commit

Permalink
[truffle] Remove dead code needed for a long removed op
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Oct 23, 2019
1 parent a4c8f68 commit 7ba53f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.

This file was deleted.

Expand Up @@ -10,9 +10,8 @@
import jline.ConsoleReader;

import org.perl6.nqp.runtime.ExceptionHandling;
import org.perl6.nqp.runtime.ThreadContext;

public class StandardReadHandle implements IIOClosable, IIOEncodable, IIOSyncReadable, IIOInteractive, IIOPossiblyTTY {
public class StandardReadHandle implements IIOClosable, IIOEncodable, IIOSyncReadable, IIOPossiblyTTY {
private InputStream is;
private BufferedReader br;
private ConsoleReader cr;
Expand Down Expand Up @@ -107,21 +106,6 @@ public synchronized String readchars(int count) {
}
}

public synchronized String readlineInteractive(ThreadContext tc, String prompt) {
try {
if (cr == null)
cr = new ConsoleReader(is, new OutputStreamWriter(tc.gc.out));
String line = cr.readLine(prompt);
if (line == null) {
eof = true;
line = "";
}
return line;
} catch (IOException e) {
throw new RuntimeException(e);
}
}

public boolean eof() {
return eof;
}
Expand Down

0 comments on commit 7ba53f2

Please sign in to comment.