Mercurial Hosting > luan
diff core/src/luan/modules/HtmlLuan.java @ 646:cdc70de628b5
simplify LuanException
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 29 Mar 2016 19:58:39 -0600 |
parents | a3c1e11fb6aa |
children |
line wrap: on
line diff
--- a/core/src/luan/modules/HtmlLuan.java Tue Mar 29 18:09:51 2016 -0600 +++ b/core/src/luan/modules/HtmlLuan.java Tue Mar 29 19:58:39 2016 -0600 @@ -14,8 +14,8 @@ public final class HtmlLuan { - public static String encode(LuanState luan,String s) throws LuanException { - Utils.checkNotNull(luan,s); + public static String encode(String s) throws LuanException { + Utils.checkNotNull(s); char[] a = s.toCharArray(); StringBuilder buf = new StringBuilder(); for( int i=0; i<a.length; i++ ) {