protected void printResult(final CommandResult commandResult,PrintStream printStream){
  assert (commandResult != null);
  assert (printStream != null);
  commandResult.resetToFirstLine();
  printStream.print(commandResultToString(commandResult));
}

protected void printResult ( final CommandResult commandResult , PrintStream printStream ) { assert ( commandResult != null ) ; assert ( printStream != null ) ; commandResult . resetToFirstLine ( ) ; printStream . print ( commandResultToString ( commandResult ) ) ; }
utility method for viewing the results of a command .
