epugh commented on code in PR #2924: URL: https://github.com/apache/solr/pull/2924#discussion_r1919118773
########## solr/core/src/java/org/apache/solr/filestore/DistribFileStore.java: ########## @@ -428,10 +428,10 @@ public boolean fetch(String path, String from) { @Override public void get(String path, Consumer<FileEntry> consumer, boolean fetchmissing) throws IOException { - File file = getRealpath(path).toFile(); - String simpleName = file.getName(); + Path file = getRealpath(path); + String simpleName = file.getFileName().toString(); if (isMetaDataFile(simpleName)) { - try (InputStream is = new FileInputStream(file)) { + try (InputStream is = new FileInputStream(file.toString())) { Review Comment: cool -- 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...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org