public static void fixPropertiesKeys ( final Properties prop ) { final Enumeration < Object > keys = prop . keys ( ) ; while ( keys . hasMoreElements ( ) ) { String currentKey = ( String ) keys . nextElement ( ) ; String fixedKey = fixPropertyKey ( currentKey ) ; String value = prop . getProperty ( currentKey ) ; value = fixPropertyValue ( value ) ; prop . remove ( currentKey ) ; prop . setProperty ( fixedKey , value ) ; } }
Fix properties keys .