protected String toMessage(Map<String,String> results){
  StringBuilder builder=new StringBuilder();
  if (results != null) {
    for (    Map.Entry<String,String> entry : results.entrySet()) {
      builder.append(entry.getKey() + ": " + entry.getValue()+ ";\n");
    }
  }
  return builder.toString();
}

protected String toMessage ( Map < String , String > results ) { StringBuilder builder = new StringBuilder ( ) ; if ( results != null ) { for ( Map . Entry < String , String > entry : results . entrySet ( ) ) { builder . append ( entry . getKey ( ) + ": " + entry . getValue ( ) + ";\n" ) ; } } return builder . toString ( ) ; }
returns a formatted string of the results .
