diff src/luan/modules/Utils.java @ 1509:0ba144491a42

lucene.backup zip
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 17 May 2020 14:29:33 -0600
parents 471ef3e6a84e
children
line wrap: on
line diff
--- a/src/luan/modules/Utils.java	Sat May 16 17:56:02 2020 -0600
+++ b/src/luan/modules/Utils.java	Sun May 17 14:29:33 2020 -0600
@@ -67,18 +67,6 @@
 		checkNotNull(fn,1);
 	}
 
-	public static String readAll(Reader in)
-		throws IOException
-	{
-		char[] a = new char[bufSize];
-		StringBuilder buf = new StringBuilder();
-		int n;
-		while( (n=in.read(a)) != -1 ) {
-			buf.append(a,0,n);
-		}
-		return buf.toString();
-	}
-
 	public static byte[] readAll(InputStream in)
 		throws IOException
 	{