@SuppressWarnings({"unchecked", "rawtypes"})
    public static Map<String, String> convertToMap(final Properties properties) {
        final Map<String, String> map = new HashMap(properties);
        return map;
    }
@SuppressWarnings({"unchecked", "rawtypes"})
    public static Map<String, String> convertToMap(final Properties properties) {
        final Map<String, String> map = new HashMap(properties);
        return map;
    }
@ SuppressWarnings ( { "unchecked" , "rawtypes" } ) public static Map < String , String > convertToMap ( final Properties properties ) { final Map < String , String > map = new HashMap ( properties ) ; return map ; }
Simple utility method to help with the migration from {@code Properties} to {@code Map<String, String>}.

@param properties
@return
Simple utility method to help with the migration from { @code Properties } to { @code Map<String String > } .