[Swift-commit] r6444 - branches/faster/src/org/griphyn/vdl/karajan/lib

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sat Apr 13 23:04:27 CDT 2013


Author: hategan
Date: 2013-04-13 23:04:27 -0500 (Sat, 13 Apr 2013)
New Revision: 6444

Modified:
   branches/faster/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java
Log:
set value on target mapped data when doing a remapping

Modified: branches/faster/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java
===================================================================
--- branches/faster/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java	2013-04-14 04:03:56 UTC (rev 6443)
+++ branches/faster/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java	2013-04-14 04:04:27 UTC (rev 6444)
@@ -289,7 +289,7 @@
                 logger.debug("Remapping " + dest + " to " + source);
             }
             dmapper.remap(dpath, source.getMapper(), source.getPathFromRoot());
-            dest.closeShallow();
+            dest.setValue(AbstractDataNode.FILE_VALUE);
         }
         else {
             StateEntry se = getStateEntry(state, level);
@@ -303,7 +303,7 @@
                         throw new ExecutionException("Failed to copy " + source + " to " + dest, fc.getException());
                     }
                 }
-                dest.closeShallow();
+                dest.setValue(AbstractDataNode.FILE_VALUE);
             }
             else {
                 fc = new FileCopier(source.getMapper().map(source.getPathFromRoot()), 




More information about the Swift-commit mailing list