Mercurial Hosting > luan
diff src/luan/tools/WebShell.java @ 59:5c9cadd0acce
move standard calls from CmdLine to LuanState
git-svn-id: https://luan-java.googlecode.com/svn/trunk@60 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Mon, 07 Jan 2013 03:36:28 +0000 |
parents | 0c0f2b107099 |
children | 59431bb8d0bf |
line wrap: on
line diff
--- a/src/luan/tools/WebShell.java Mon Jan 07 00:18:35 2013 +0000 +++ b/src/luan/tools/WebShell.java Mon Jan 07 03:36:28 2013 +0000 @@ -25,11 +25,11 @@ private static final Logger logger = LoggerFactory.getLogger(WebShell.class); protected LuanState newLuanState() throws LuanException { - return CmdLine.newStandardLuan(); + return LuanState.newStandard(); } protected Object[] eval(LuanState luan,String cmd) throws LuanException { - return CmdLine.eval(luan,cmd,"WebShell"); + return luan.eval(cmd,"WebShell"); } protected void service(HttpServletRequest request,HttpServletResponse response)