Mercurial Hosting > luan
diff src/luan/lib/HttpLib.java @ 130:0594c132888b
cleanup
git-svn-id: https://luan-java.googlecode.com/svn/trunk@131 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Tue, 10 Jun 2014 02:43:40 +0000 |
parents | f537ff5e511d |
children | 3119326260ea |
line wrap: on
line diff
--- a/src/luan/lib/HttpLib.java Mon Jun 09 09:16:16 2014 +0000 +++ b/src/luan/lib/HttpLib.java Tue Jun 10 02:43:40 2014 +0000 @@ -28,7 +28,7 @@ PackageLib.require(luan,NAME); Object fn = luan.get(HttpLib.FN_NAME); if( !(fn instanceof LuanFunction) ) - throw luan.JAVA.exception( "function '"+HttpLib.FN_NAME+"' not defined" ); + throw luan.exception( "function '"+HttpLib.FN_NAME+"' not defined" ); } public static void service(LuanState luan,HttpServletRequest request,HttpServletResponse response) @@ -46,7 +46,7 @@ throw new RuntimeException(e); } - luan.JAVA.call(fn,FN_NAME); + luan.call(fn,FN_NAME); } private final HttpServletRequest request;