[Swift-commit] r8071 - branches/release-0.95/src/org/griphyn/vdl/mapping

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sat Jul 26 17:32:14 CDT 2014


Author: hategan
Date: 2014-07-26 17:32:13 -0500 (Sat, 26 Jul 2014)
New Revision: 8071

Modified:
   branches/release-0.95/src/org/griphyn/vdl/mapping/ArrayDataNode.java
Log:
fix for bug 1303

Modified: branches/release-0.95/src/org/griphyn/vdl/mapping/ArrayDataNode.java
===================================================================
--- branches/release-0.95/src/org/griphyn/vdl/mapping/ArrayDataNode.java	2014-07-26 04:11:04 UTC (rev 8070)
+++ branches/release-0.95/src/org/griphyn/vdl/mapping/ArrayDataNode.java	2014-07-26 22:32:13 UTC (rev 8071)
@@ -131,7 +131,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