gautamworah96 commented on code in PR #822: URL: https://github.com/apache/lucene/pull/822#discussion_r854391999
########## 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: nit: The `filesystem` param is redundant here (the global one is being used in the FilterPath call). -- 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