Skip to content

Commit 8a723c0

Browse files
committed
Change access modifier for readAdvise in MMapDirectory
Signed-off-by: Navneet Verma <navneev@amazon.com>
1 parent f2b01e5 commit 8a723c0

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

lucene/CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ API Changes
236236
* GITHUB#15803: Add ReaderUtil#partitionByLeaf to partition doc IDs from
237237
ScoreDoc hits by leaf reader. (Zihan Xu)
238238

239+
* GITHUB#15892: Change access modifier for readAdvise in MMapDirectory (Navneet Verma)
240+
239241
New Features
240242
---------------------
241243

lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public class MMapDirectory extends FSDirectory {
169169
return Optional.of(Constants.DEFAULT_READADVICE);
170170
};
171171

172-
private BiFunction<String, IOContext, Optional<ReadAdvice>> readAdvice =
172+
protected BiFunction<String, IOContext, Optional<ReadAdvice>> readAdvice =
173173
(_, _) -> Optional.empty();
174174

175175
private BiPredicate<String, IOContext> preload = NO_FILES;

0 commit comments

Comments
 (0)