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

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Wed Jun 8 21:17:49 CDT 2011


Author: hategan
Date: 2011-06-08 21:17:49 -0500 (Wed, 08 Jun 2011)
New Revision: 4593

Modified:
   trunk/src/org/griphyn/vdl/mapping/RootArrayDataNode.java
Log:
also fix the initialization issue that was present in non-array types for arrays

Modified: trunk/src/org/griphyn/vdl/mapping/RootArrayDataNode.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/RootArrayDataNode.java	2011-06-09 02:16:59 UTC (rev 4592)
+++ trunk/src/org/griphyn/vdl/mapping/RootArrayDataNode.java	2011-06-09 02:17:49 UTC (rev 4593)
@@ -1,7 +1,7 @@
 package org.griphyn.vdl.mapping;
 
-import java.util.Map;
 import java.util.Iterator;
+import java.util.Map;
 
 import org.griphyn.vdl.karajan.VDL2FutureException;
 import org.griphyn.vdl.type.Field;
@@ -50,9 +50,9 @@
 		}
 		try {
 			mapper = MapperFactory.getMapper(desc, params);
-			checkInputs();
 			getField().setName(PARAM_PREFIX.getStringValue(mapper));
 			initialized();
+			checkInputs();
 		}
 		catch (InvalidMapperException e) {
 			throw new RuntimeException(e);
@@ -73,7 +73,6 @@
 			setValue(new MappingDependentException(this, e));
 			closeShallow();
 		}
-		initialized();
 	}
 
 	public void handleClosed(DSHandle handle) {




More information about the Swift-commit mailing list