mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Ticket #362: Fixed inefficient map iteration.
This commit is contained in:
@@ -70,8 +70,8 @@ public class APIConnectionWrapper implements Connection {
|
|||||||
|
|
||||||
Map<String, String> parameters = apiConnection.getParameters();
|
Map<String, String> parameters = apiConnection.getParameters();
|
||||||
|
|
||||||
for(String key : parameters.keySet())
|
for(Map.Entry<String, String> entry : parameters.entrySet())
|
||||||
configuration.setParameter(key, parameters.get(key));
|
configuration.setParameter(entry.getKey(), entry.getValue());
|
||||||
|
|
||||||
return configuration;
|
return configuration;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user