dsmiley commented on code in PR #146:
URL: https://github.com/apache/solr/pull/146#discussion_r1037645351
##########
solr/core/src/java/org/apache/solr/core/FileSystemConfigSetService.java:
##########
@@ -148,4 +284,13 @@ protected Long getCurrentSchemaModificationVersion(
return null; // debatable; we'll see an error soon if there's a real
problem
}
}
+
+ protected Path getConfigDir(String configName) throws IOException {
+ String configSetDir = configSetBase.toFile().getCanonicalPath() +
File.separator;
+ File file = new File(configSetBase.toString(), configName);
Review Comment:
Please avoid File; Path is Java's newer & better replacement. It has
methods to do what you want to do.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]