From: "Enrico Weigelt, metux IT consult" <enrico.weig...@gr13.net>

---
 src/net/sf/freecol/common/networking/Message.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/net/sf/freecol/common/networking/Message.java 
b/src/net/sf/freecol/common/networking/Message.java
index e9494420a92..611bc228251 100644
--- a/src/net/sf/freecol/common/networking/Message.java
+++ b/src/net/sf/freecol/common/networking/Message.java
@@ -182,8 +182,8 @@ public abstract class Message {
      * @param attributes The map of key,value pairs to set.
      */
     public void setStringAttributes(Map<String, String> attributes) {
-        forEachMapEntry(attributes,
-                        e -> setStringAttribute(e.getKey(), e.getValue()));
+        for (Map.Entry<String, String> e : attributes.entrySet())
+            setStringAttribute(e.getKey(), e.getValue());
     }
 
     /**
-- 
2.11.0.rc0.7.gbe5a750


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to