private Map<String, String> propertiesToMap(Properties properties) {
        Map<String, String> map = new HashMap<>();
        for(Map.Entry<Object, Object> entry : properties.entrySet()) {
            map.put(String.valueOf(entry.getKey()), String.valueOf(entry.getValue()));
        }
        return map;
    }
private Map<String, String> propertiesToMap(Properties properties) {
        Map<String, String> map = new HashMap<>();
        for(Map.Entry<Object, Object> entry : properties.entrySet()) {
            map.put(String.valueOf(entry.getKey()), String.valueOf(entry.getValue()));
        }
        return map;
    }
private Map < String , String > propertiesToMap ( Properties properties ) { Map < String , String > map = new HashMap <> ( ) ; for ( Map . Entry < Object , Object > entry : properties . entrySet ( ) ) { map . put ( String . valueOf ( entry . getKey ( ) ) , String . valueOf ( entry . getValue ( ) ) ) ; } return map ; }
Converts a {@link Properties} object to a {@link Map}.
@param properties    The properties object.
@return              The map.
Converts a {