diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/AbstractProxyConnectorFormAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/AbstractProxyConnectorFormAction.java index 57baffa58..1e6831196 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/AbstractProxyConnectorFormAction.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/AbstractProxyConnectorFormAction.java @@ -457,13 +457,13 @@ public abstract class AbstractProxyConnectorFormAction } Map properties = connector.getProperties(); - for ( String key : properties.keySet() ) + for ( Map.Entry entry2 : properties.entrySet()) { - Object value = properties.get( key ); + Object value = entry2.getValue(); if ( value.getClass().isArray() ) { String[] arr = (String[]) value; - properties.put( key, arr[0] ); + properties.put( entry2.getKey(), arr[0] ); } }