public static Properties addProperties()

in src/main/java/org/apache/maven/resolver/internal/ant/ConverterUtils.java [154:164]


    public static Properties addProperties(Properties props, Map<?, ?> map) {
        if (props == null) {
            props = new Properties();
        }
        for (Map.Entry<?, ?> entry : map.entrySet()) {
            if (entry.getKey() instanceof String && entry.getValue() instanceof String) {
                props.put(entry.getKey(), entry.getValue());
            }
        }
        return props;
    }