Skip to content

Commit a92de0d

Browse files
Update RedirectStreamHandler.java
1 parent 921a93e commit a92de0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mode/src/processing/mode/android/RedirectStreamHandler.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
public 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
}

0 commit comments

Comments
 (0)