[ https://issues.apache.org/jira/browse/SOLR-8302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15010648#comment-15010648 ]
Alan Woodward commented on SOLR-8302: ------------------------------------- Yes, I think deprecation is probably the way forward. This will mean changing the name of the new method, as Java doesn't let you have identically-named methods with different return types - will work up a patch to change the name to .getInstancePath(), with the deprecated .getInstanceDir() just redirecting to that. > SolrResourceLoader should take a Path to its instance directory, rather than > a String > ------------------------------------------------------------------------------------- > > Key: SOLR-8302 > URL: https://issues.apache.org/jira/browse/SOLR-8302 > Project: Solr > Issue Type: Improvement > Reporter: Alan Woodward > Assignee: Alan Woodward > Attachments: SOLR-8302.patch > > > First step of SOLR-8282. We have a whole bunch of code that deals with > loading things relative to the resource loader's instance dir. These become > a lot simpler if the instance dir is a Path. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org