Author: alessio.soldano(a)jboss.com
Date: 2009-09-16 13:05:29 -0400 (Wed, 16 Sep 2009)
New Revision: 10698
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ClientImpl.java
Log:
[JBWS-2763] Using Map putAll() instead of manually iterating over keyset
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ClientImpl.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ClientImpl.java 2009-09-15
14:51:18 UTC (rev 10697)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ClientImpl.java 2009-09-16
17:05:29 UTC (rev 10698)
@@ -336,11 +336,7 @@
}
// Copy the inbound msg properties to the binding's response context
- for (String key : msgContext.keySet())
- {
- Object value = msgContext.get(key);
- resContext.put(key, value);
- }
+ resContext.putAll(msgContext);
}
}
finally