public static String setProperty ( String name , String value ) { String val = null ; if ( props . containsKey ( name ) ) { val = props . get ( name ) . getValue ( ) ; } props . put ( name , new Property ( name , value , "dynamically added" ) ) ; LOGGER . warn ( "Temporary overriding property: " + name + ". Old value: " + val + ". New value: " + value ) ; return val ; }
Sets a property in memory . If property exists it will be overwritten if not a new one will be created .