in src/main/java/org/apache/maven/resolver/internal/ant/ConverterUtils.java [155:169]
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;
}