private static void dumpConfigurationProperties(InstallLog installLog,Map<String,Object> properties){
  SortedMap<String,Object> sortedProperties=new TreeMap<String,Object>(String.CASE_INSENSITIVE_ORDER);
  sortedProperties.putAll(properties);
  for (  String key : sortedProperties.keySet()) {
    if (CONFIG_ITEMS_TO_HASH_LIST.contains(key)) {
      installLog.write(key + " = #########" + "\n");
    }
 else {
      installLog.write(key + " = " + sortedProperties.get(key)+ "\n");
    }
  }
}

private static void dumpConfigurationProperties ( InstallLog installLog , Map < String , Object > properties ) { SortedMap < String , Object > sortedProperties = new TreeMap < String , Object > ( String . CASE_INSENSITIVE_ORDER ) ; sortedProperties . putAll ( properties ) ; for ( String key : sortedProperties . keySet ( ) ) { if ( CONFIG_ITEMS_TO_HASH_LIST . contains ( key ) ) { installLog . write ( key + " = #########" + "\n" ) ; } else { installLog . write ( key + " = " + sortedProperties . get ( key ) + "\n" ) ; } } }
iterate over the supplied properties ( sorted by property name ) and write them out to the passed install log . property values that are in the config_items_to_hash_list will have their value masked .
