ChrisHegarty commented on code in PR #13339:
URL: https://github.com/apache/lucene/pull/13339#discussion_r1595176480


##########
lucene/core/src/java/org/apache/lucene/store/FilterIndexInput.java:
##########
@@ -40,6 +48,19 @@ public static IndexInput unwrap(IndexInput in) {
     return in;
   }
 
+  /**
+   * Unwraps all test FilterIndexInputs until the first non-test 
FilterIndexInput IndexInput
+   * instance and returns it
+   */
+  public static IndexInput unwrapOnlyTest(IndexInput in) {
+    while (in instanceof FilterIndexInput && 
TEST_FILTER_INPUTS.contains(in.getClass())) {
+      in = ((FilterIndexInput) in).in;
+    }
+    return in;
+  }
+
+  // org.apache.lucene.tests.store.MockIndexInputWrapper"
+

Review Comment:
   D'oh! removed



-- 
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