Mercurial Hosting > luan
diff src/goodjava/lucene/logging/LoggingIndexWriter.java @ 1488:af55cfad6e12
start lucene.backup
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 02 May 2020 15:38:48 -0600 |
parents | 044a360c2300 |
children | 22e15cf73040 |
line wrap: on
line diff
--- a/src/goodjava/lucene/logging/LoggingIndexWriter.java Fri May 01 16:17:20 2020 -0600 +++ b/src/goodjava/lucene/logging/LoggingIndexWriter.java Sat May 02 15:38:48 2020 -0600 @@ -35,7 +35,7 @@ import goodjava.logging.LoggerFactory; -public final class LoggingIndexWriter implements GoodIndexWriter { +public class LoggingIndexWriter implements GoodIndexWriter { private static final Logger logger = LoggerFactory.getLogger(LoggingIndexWriter.class); private static final int version = 1; private static final int OP_DELETE_ALL = 1; @@ -46,7 +46,7 @@ public final LuceneIndexWriter indexWriter; private final File logDir; - private final List<LogFile> logs = new ArrayList<LogFile>(); + protected final List<LogFile> logs = new ArrayList<LogFile>(); private LogOutputStream log; private final File index; private boolean isMerging = false;