[Swift-commit] r7305 - trunk/src/org/griphyn/vdl/karajan/lib/swiftscript

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Fri Nov 22 15:03:35 CST 2013


Author: hategan
Date: 2013-11-22 15:03:35 -0600 (Fri, 22 Nov 2013)
New Revision: 7305

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Misc.java
Log:
more small cleaning

Modified: trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Misc.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Misc.java	2013-11-22 21:03:22 UTC (rev 7304)
+++ trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Misc.java	2013-11-22 21:03:35 UTC (rev 7305)
@@ -397,9 +397,7 @@
             if (logger.isDebugEnabled()) {
                 logger.debug("regexp replacement produced '" + group + "'");
             }
-            DSHandle handle = new RootDataNode(Types.STRING);
-            handle.setValue(group);
-            handle.closeShallow();
+            DSHandle handle = new RootDataNode(Types.STRING, group);
 
             if (PROVENANCE_ENABLED) {
                 int provid = SwiftFunction.nextProvenanceID();




More information about the Swift-commit mailing list