private Properties mapToProperties ( Map < String , String > map ) { Properties p = new Properties ( ) ; for ( Map . Entry < String , String > entry : map . entrySet ( ) ) { p . put ( entry . getKey ( ) , entry . getValue ( ) ) ; } return p ; }
Legacy conversion .