Ticket #362: Fixed inefficient map iteration.
This commit is contained in:
1 parent
2303417385
commit
8e3a73a9a2
1 file changed
+2
-2
+2
-2
@@ -70,8 +70,8 @@ public class APIConnectionWrapper implements Connection {
|
||||
|
||||
Map<String, String> parameters = apiConnection.getParameters();
|
||||
|
||||
for(String key : parameters.keySet())
|
||||
configuration.setParameter(key, parameters.get(key));
|
||||
for(Map.Entry<String, String> entry : parameters.entrySet())
|
||||
configuration.setParameter(entry.getKey(), entry.getValue());
|
||||
|
||||
return configuration;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user