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

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Thu Jul 22 13:44:51 CDT 2010


Author: jonmon
Date: 2010-07-22 13:44:51 -0500 (Thu, 22 Jul 2010)
New Revision: 3464

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Misc.java
Log:
o swift/src/org/griphyn/vdl/karajan/lib/swiftscript/Misc.java
  -- Minor change in toint function.



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




More information about the Swift-commit mailing list