IDEA-152046 Exception when importing maven project, 2

This commit is contained in:
Maxim.Mossienko
2016-02-24 11:31:10 +01:00
parent 7a81ef5056
commit 6cd47a13a2
@@ -28,7 +28,8 @@ public class MavenServerUtil {
private static final Properties mySystemPropertiesCache;
static {
Properties res = new Properties((Properties)System.getProperties().clone());
Properties res = new Properties();
res.putAll((Properties)System.getProperties().clone());
for (Iterator<Object> itr = res.keySet().iterator(); itr.hasNext(); ) {
String propertyName = itr.next().toString();