From e2f45c77d94d5135386302349bb0a575d142f1d2 Mon Sep 17 00:00:00 2001 From: Emmanuel Bigeon Date: Sat, 27 Oct 2018 09:56:07 -0400 Subject: [PATCH] Comment Signed-off-by: Emmanuel Bigeon --- .../main/java/net/bigeon/gclc/system/ForwardingRunnable.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gclc.system/src/main/java/net/bigeon/gclc/system/ForwardingRunnable.java b/gclc.system/src/main/java/net/bigeon/gclc/system/ForwardingRunnable.java index 1f4700e..775c371 100644 --- a/gclc.system/src/main/java/net/bigeon/gclc/system/ForwardingRunnable.java +++ b/gclc.system/src/main/java/net/bigeon/gclc/system/ForwardingRunnable.java @@ -48,6 +48,8 @@ import net.bigeon.gclc.manager.ConsoleOutput; * This class is useful for processes that run in a different environment than * the application but return an output. Such processes include command * processes and socket communications for example. + *

+ * In the current library is is used to retrieve a system command output. * * @author Emmanuel Bigeon */ public final class ForwardingRunnable implements Runnable { @@ -95,7 +97,7 @@ public final class ForwardingRunnable implements Runnable { int c; try { while ((c = is.read()) >= 0) { - // Print the chaeacter in the output + // Print the character in the output printCharacter(out, (char) c); } } catch (final IOException e) {