Skip to content

Commit d86cade

Browse files
committed
Cleanup old IO leftovers.
1 parent 756f91b commit d86cade

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

src/vm/jvm/runtime/org/perl6/nqp/sixmodel/reprs/IOHandleInstance.java

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
package org.perl6.nqp.sixmodel.reprs;
22

3-
import java.io.BufferedReader;
4-
import java.io.InputStream;
5-
import java.io.InputStreamReader;
6-
import java.io.OutputStream;
7-
import java.io.OutputStreamWriter;
8-
9-
import jline.ConsoleReader;
10-
113
import java.nio.file.DirectoryStream;
124
import java.nio.file.Path;
13-
145
import java.util.Iterator;
156

167
import org.perl6.nqp.sixmodel.SixModelObject;
@@ -19,34 +10,7 @@ public class IOHandleInstance extends SixModelObject {
1910
/* Object that can perform I/O operations; will be checked for its
2011
* capabilities by interface by ops and then invoked. */
2112
public Object handle;
22-
23-
/* The input stream; if null, we can't read from this. */
24-
public InputStream is;
25-
26-
/* EOF gets marked by read operations */
27-
public boolean eof;
2813

29-
/* The output stream; if null, we can't write to this. */
30-
public OutputStream os;
31-
32-
/* The (Java) encoding name to use. */
33-
public String encoding = "UTF-8";
34-
35-
/* These wrap the above streams and knows about encodings. If they
36-
* are still null, the encoding can still be set.
37-
*/
38-
public InputStreamReader isr;
39-
public OutputStreamWriter osw;
40-
41-
/*
42-
* This further wraps the input stream reader for the case of doing
43-
* line-based I/O.
44-
*/
45-
public BufferedReader br;
46-
47-
/* This wraps the input stream for interactive readline */
48-
public ConsoleReader cr;
49-
5014
/* This wraps directories that were opened for lazy file listings */
5115
public DirectoryStream<Path> dirstrm;
5216

0 commit comments

Comments
 (0)