diff src/goodjava/lucene/logging/LogInputStream.java @ 1557:117ce8645b7f

lucene logging - add long string
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 11 Oct 2020 18:29:58 -0600
parents 7d145095cc0b
children
line wrap: on
line diff
--- a/src/goodjava/lucene/logging/LogInputStream.java	Sun Oct 11 17:28:16 2020 -0600
+++ b/src/goodjava/lucene/logging/LogInputStream.java	Sun Oct 11 18:29:58 2020 -0600
@@ -1,7 +1,7 @@
 package goodjava.lucene.logging;
 
 import java.io.InputStream;
-import java.io.DataInputStream;
+import goodjava.io.DataInputStream;
 import java.io.IOException;
 import java.util.List;
 import java.util.ArrayList;
@@ -41,6 +41,8 @@
 			return null;
 		case LogFile.TYPE_STRING:
 			return readUTF();
+		case LogFile.TYPE_LONG_STRING:
+			return readString();
 		case LogFile.TYPE_INT:
 			return readInt();
 		case LogFile.TYPE_LONG: