File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
mode/src/processing/mode/android Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
9
9
10
10
public class RedirectStreamHandler extends Thread {
11
- // Streams to redirect from and to
11
+ // Streams Redirection- from and to
12
12
private final InputStream input ;
13
13
private final PrintWriter output ;
14
14
@@ -24,11 +24,11 @@ public void run() {
24
24
BufferedReader reader = new BufferedReader (new InputStreamReader (input ));
25
25
String line ;
26
26
while ((line = reader .readLine ()) != null ) {
27
+ // print to output line by line
27
28
output .println (line );
28
29
}
29
- } catch (IOException ioe ) {
30
- // OK to ignore...
31
- System .out .println ("Level.WARNING____I/O Redirection failure: " + ioe .toString ());
30
+ } catch (IOException ioException ) {
31
+ System .out .println ("I/O Redirection failure: " + ioException .toString ());
32
32
}
33
33
}
34
34
}
You can’t perform that action at this time.
0 commit comments