rmuir commented on code in PR #822:
URL: https://github.com/apache/lucene/pull/822#discussion_r854435033


##########
lucene/test-framework/src/java/org/apache/lucene/tests/mockfile/FilterFileSystemProvider.java:
##########
@@ -116,7 +116,11 @@ public Path getPath(URI uri) {
     if (fileSystem == null) {
       throw new IllegalStateException("subclass did not initialize singleton 
filesystem");
     }
-    Path path = delegate.getPath(uri);
+    return wrapPath(delegate.getPath(uri), fileSystem);
+  }
+
+  /** wraps a Path with provider-specific behavior */
+  public FilterPath wrapPath(Path path, FileSystem filesystem) {

Review Comment:
   thank you @gautamworah96 
   I will investigate and see if we can simplify this. 



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