mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +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();
|
||||
|
||||
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