question: public static Properties createProperties ( final Map < String , String > map ) { Properties properties = new Properties ( ) ; if ( ! ( map == null || map . isEmpty ( ) ) ) { for ( Entry < String , String > entry : map . entrySet ( ) ) { properties . setProperty ( entry . getKey ( ) , entry . getValue ( ) ) ; } } return properties ; }
target:  Creates an Properties object initialized with the value from the given Map. <p>