[Swift-commit] r7304 - trunk/src/org/griphyn/vdl/karajan/lib/swiftscript
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Fri Nov 22 15:03:22 CST 2013
Author: hategan
Date: 2013-11-22 15:03:22 -0600 (Fri, 22 Nov 2013)
New Revision: 7304
Modified:
trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Sprintf.java
Log:
more small cleaning
Modified: trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Sprintf.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Sprintf.java 2013-11-22 21:00:22 UTC (rev 7303)
+++ trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Sprintf.java 2013-11-22 21:03:22 UTC (rev 7304)
@@ -77,9 +77,7 @@
logger.debug("generated: " + msg);
}
- DSHandle result = new RootDataNode(Types.STRING);
- result.setValue(msg);
- return result;
+ return new RootDataNode(Types.STRING, msg);
}
public static String format(String spec, Channel<AbstractDataNode> args) {
More information about the Swift-commit
mailing list