Skip to content

Commit da44cb4

Browse files
committed
Add comment
1 parent 4cd2830 commit da44cb4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lucene/core/src/java/org/apache/lucene/util/fst/ByteBuffersFSTReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.lucene.store.ByteBuffersDataOutput;
2121
import org.apache.lucene.store.DataOutput;
2222

23-
/** A {@link FSTReader} which is backed by {@link ByteBuffersDataOutput} */
23+
/** An adapter class to use {@link ByteBuffersDataOutput} as a {@link FSTReader} */
2424
final class ByteBuffersFSTReader extends DataOutput implements FSTReader {
2525

2626
private final ByteBuffersDataOutput dataOutput;

lucene/core/src/java/org/apache/lucene/util/fst/BytesStore.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
import org.apache.lucene.util.Accountable;
2525
import org.apache.lucene.util.RamUsageEstimator;
2626

27-
// TODO: merge with PagedBytes, except PagedBytes doesn't
28-
// let you read while writing which FST needs
27+
// TODO: merge with or use PagedBytes/ByteBuffersDataOutput, as we no longer need to read while
28+
// writing
2929

3030
class BytesStore extends DataOutput implements Accountable {
3131

0 commit comments

Comments
 (0)