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) {