Mercurial Hosting > luan
diff src/luan/lib/IoLib.java @ 136:7e160d2f6d9c
update HttpLib, untested
git-svn-id: https://luan-java.googlecode.com/svn/trunk@137 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Wed, 11 Jun 2014 09:33:02 +0000 |
parents | 3119326260ea |
children | 05f8c21160ef |
line wrap: on
line diff
--- a/src/luan/lib/IoLib.java Wed Jun 11 06:30:46 2014 +0000 +++ b/src/luan/lib/IoLib.java Wed Jun 11 09:33:02 2014 +0000 @@ -93,7 +93,7 @@ return blocks(System.in,n); } - public static String java_resource_to_url(String path) throws IOException { + public static String java_resource_to_url(String path) { URL url = ClassLoader.getSystemResource(path); return url==null ? null : url.toString(); } @@ -425,4 +425,6 @@ } }; } + + private void IoLib() {} // never }