Mercurial Hosting > luan
diff src/luan/modules/PackageLuan.java @ 1509:0ba144491a42
lucene.backup zip
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 17 May 2020 14:29:33 -0600 |
parents | 56fb5cd8228d |
children | b89212fd04b5 |
line wrap: on
line diff
--- a/src/luan/modules/PackageLuan.java Sat May 16 17:56:02 2020 -0600 +++ b/src/luan/modules/PackageLuan.java Sun May 17 14:29:33 2020 -0600 @@ -5,6 +5,7 @@ import java.io.IOException; import java.util.Arrays; import java.util.Collections; +import goodjava.io.IoUtils; import luan.Luan; import luan.LuanTable; import luan.LuanFunction; @@ -56,7 +57,7 @@ String src; try { Reader in = new InputStreamReader(ClassLoader.getSystemResourceAsStream("luan/modules/Boot.luan")); - src = Utils.readAll(in); + src = IoUtils.readAll(in); in.close(); } catch(IOException e) { throw new RuntimeException(e);