public static Properties convertToProperties(final Map<String, String> map) {
    """
	Simple utility method to help with the migration from {@code Map<String, String>}
	to {@code Properties}.
	
	@deprecated Should migrate to {@code Map<String, String>} signatures.
	@param map
	@return
    """
        final Properties properties = new Properties();
        if (map != null) {
            for (Entry<String, String> entry : map.entrySet()) {
                properties.setProperty(entry.getKey(), entry.getValue());
            }
        }
        return properties;
    }
public static Properties convertToProperties(final Map<String, String> map) {
        final Properties properties = new Properties();
        if (map != null) {
            for (Entry<String, String> entry : map.entrySet()) {
                properties.setProperty(entry.getKey(), entry.getValue());
            }
        }
        return properties;
    }
public static Properties convertToProperties ( final Map < String , String > map ) { final Properties properties = new Properties ( ) ; if ( map != null ) { for ( Entry < String , String > entry : map . entrySet ( ) ) { properties . setProperty ( entry . getKey ( ) , entry . getValue ( ) ) ; } } return properties ; }
Simple utility method to help with the migration from {@code Map<String, String>}
to {@code Properties}.

@deprecated Should migrate to {@code Map<String, String>} signatures.
@param map
@return
Simple utility method to help with the migration from { @code Map<String String > } to { @code Properties } .