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

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Thu Jul 19 01:00:34 CDT 2012


Author: hategan
Date: 2012-07-19 01:00:34 -0500 (Thu, 19 Jul 2012)
New Revision: 5861

Modified:
   trunk/src/org/griphyn/vdl/mapping/AbstractDataNode.java
Log:
don't clean primitive types

Modified: trunk/src/org/griphyn/vdl/mapping/AbstractDataNode.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/AbstractDataNode.java	2012-07-19 06:00:02 UTC (rev 5860)
+++ trunk/src/org/griphyn/vdl/mapping/AbstractDataNode.java	2012-07-19 06:00:34 UTC (rev 5861)
@@ -640,7 +640,7 @@
                 ((AbstractDataNode) h).clean();
             }
         }
-        else if (!getType().isArray()) {
+        else if (!getType().isArray() && !getType().isPrimitive()) {
             Mapper mapper = getRoot().getMapper();
             if (mapper != null) {
                 mapper.clean(getPathFromRoot());




More information about the Swift-commit mailing list