[Swift-commit] r8069 - trunk/src/org/griphyn/vdl/mapping/nodes

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Fri Jul 25 23:04:52 CDT 2014


Author: hategan
Date: 2014-07-25 23:04:52 -0500 (Fri, 25 Jul 2014)
New Revision: 8069

Modified:
   trunk/src/org/griphyn/vdl/mapping/nodes/AbstractFutureArrayDataNode.java
Log:
fix for bug 1303

Modified: trunk/src/org/griphyn/vdl/mapping/nodes/AbstractFutureArrayDataNode.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/nodes/AbstractFutureArrayDataNode.java	2014-07-26 03:58:07 UTC (rev 8068)
+++ trunk/src/org/griphyn/vdl/mapping/nodes/AbstractFutureArrayDataNode.java	2014-07-26 04:04:52 UTC (rev 8069)
@@ -99,7 +99,9 @@
                 return new ClosedArrayEntries(getArrayValue());
             }
             else {
-                keyList = new ArrayList<Comparable<?>>(getArrayValue().keySet());
+                if (keyList == null) {
+                    keyList = new ArrayList<Comparable<?>>(getArrayValue().keySet());
+                }
                 return new OpenArrayEntries(keyList, getArrayValue(), this);
             }
         }




More information about the Swift-commit mailing list