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

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Thu Jul 22 17:09:53 CDT 2010


Author: wozniak
Date: 2010-07-22 17:09:52 -0500 (Thu, 22 Jul 2010)
New Revision: 3465

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Misc.java
Log:
Undo change to @toint()


Modified: trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Misc.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Misc.java	2010-07-22 18:44:51 UTC (rev 3464)
+++ trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Misc.java	2010-07-22 22:09:52 UTC (rev 3465)
@@ -206,7 +206,7 @@
 			inputString = inputString.substring(0, i);
 		}
 		DSHandle handle = new RootDataNode(Types.INT);
-		handle.setValue( new Integer( inputString ) );
+		handle.setValue(new Double(inputString));
 		handle.closeShallow();
 		int provid=VDLFunction.nextProvenanceID();
 		VDLFunction.logProvenanceResult(provid, handle, "toint");




More information about the Swift-commit mailing list