private static boolean summarize( List<String> warnings, List<String> errors, boolean isNoWarn )
  {
    if( isNoWarn )
    {
      System.out.printf( "\ngosuc completed with %d errors. Warnings were disabled.\n", errors.size() );
    }
    else
    {
      System.out.printf( "\ngosuc completed with %d warnings and %d errors.\n", warnings.size(), errors.size() );
    }

    return errors.size() > 0;
  }
private static boolean summarize ( List < String > warnings , List < String > errors , boolean isNoWarn ) { if ( isNoWarn ) { System . out . printf ( "\ngosuc completed with %d errors. Warnings were disabled.\n" , errors . size ( ) ) ; } else { System . out . printf ( "\ngosuc completed with %d warnings and %d errors.\n" , warnings . size ( ) , errors . size ( ) ) ; } return errors . size ( ) > 0 ; }
@param warnings List of warnings
@param errors   List of errors
@param isNoWarn true if warnings are disabled

@return true if compilation resulted in errors, false otherwise