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 88
99
1010public class RedirectStreamHandler extends Thread {
11- // Streams to redirect from and to
11+ // Streams Redirection- from and to
1212 private final InputStream input ;
1313 private final PrintWriter output ;
1414
@@ -24,11 +24,11 @@ public void run() {
2424 BufferedReader reader = new BufferedReader (new InputStreamReader (input ));
2525 String line ;
2626 while ((line = reader .readLine ()) != null ) {
27+ // print to output line by line
2728 output .println (line );
2829 }
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 ());
3232 }
3333 }
3434 }
You can’t perform that action at this time.
0 commit comments