diff core/src/luan/modules/ThreadLuan.java @ 646:cdc70de628b5

simplify LuanException
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 29 Mar 2016 19:58:39 -0600
parents 31926755689e
children a82d385ec2c3
line wrap: on
line diff
--- a/core/src/luan/modules/ThreadLuan.java	Tue Mar 29 18:09:51 2016 -0600
+++ b/core/src/luan/modules/ThreadLuan.java	Tue Mar 29 19:58:39 2016 -0600
@@ -28,7 +28,7 @@
 	}
 
 	public static LuanFunction synchronized_(final LuanState luan,final LuanFunction fn) throws LuanException {
-		Utils.checkNotNull(luan,fn);
+		Utils.checkNotNull(fn);
 		return new LuanFunction() {
 			@Override public Object call(LuanState ingored,Object[] args) throws LuanException {
 				synchronized(luan) {