uschindler commented on code in PR #13219:
URL: https://github.com/apache/lucene/pull/13219#discussion_r1539448998


##########
lucene/core/src/java21/org/apache/lucene/store/PosixNativeAccess.java:
##########
@@ -135,12 +135,12 @@ public void madvise(MemorySegment segment, IOContext 
context) throws IOException
     }
   }
 
-  private Integer mapIOContext(IOContext ctx) {
-    return switch (ctx.readAdvice()) {
+  private Integer mapIOContext(ReadAdvice readAdvice) {

Review Comment:
   should be `mapReadAdvice()` :-)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to