[Swift-commit] r3645 - trunk/src/org/griphyn/vdl/karajan/lib/swiftscript
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Mon Sep 27 11:31:57 CDT 2010
Author: wozniak
Date: 2010-09-27 11:31:57 -0500 (Mon, 27 Sep 2010)
New Revision: 3645
Modified:
trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Assert.java
Log:
Corrections
Modified: trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Assert.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Assert.java 2010-09-27 16:30:59 UTC (rev 3644)
+++ trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/Assert.java 2010-09-27 16:31:57 UTC (rev 3645)
@@ -12,6 +12,7 @@
/**
Throw AssertionException if input is false or 0.
+ Optional second argument is string message printed on failure.
*/
public class Assert extends VDLFunction {
@@ -33,8 +34,6 @@
VDLFunction.waitFor(stack, handle);
}
- logger.debug("check: ");
-
if (args.length == 2)
if (args[1].getType() == Types.STRING)
message = args[1].toString();
More information about the Swift-commit
mailing list