Commit 33288fed authored by Kristof Szabados's avatar Kristof Szabados
Browse files

minimize the length of using the stream.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent a9119caf
......@@ -208,12 +208,14 @@ public final class PathConverter {
MessageConsoleStream stream = null;
if (reportDebugInformation) {
stream = outputConsole.newMessageStream();
final StringBuilder builder = new StringBuilder();
for (final String c : command) {
stream.print(c + " ");
builder.append(c).append(" ");
}
stream.println();
stream = outputConsole.newMessageStream();
stream.println(builder.toString());
}
return stream;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment