You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2020/02/26 22:42:21 UTC

[GitHub] [lucene-solr] madrob commented on a change in pull request #1191: SOLR-14197 Reduce API of SolrResourceLoader

madrob commented on a change in pull request #1191: SOLR-14197 Reduce API of SolrResourceLoader
URL: https://github.com/apache/lucene-solr/pull/1191#discussion_r384808059
 
 

 ##########
 File path: solr/core/src/test/org/apache/solr/core/TestSolrXml.java
 ##########
 @@ -118,16 +110,16 @@ public void testPropertySub() throws IOException {
     System.setProperty("socketTimeout", "220");
     System.setProperty("connTimeout", "200");
 
-    File testSrcRoot = new File(SolrTestCaseJ4.TEST_HOME());
-    FileUtils.copyFile(new File(testSrcRoot, "solr-50-all.xml"), new File(solrHome, "solr.xml"));
+    Path testSrcRoot = Paths.get(SolrTestCaseJ4.TEST_HOME());
 
 Review comment:
   Should this be TEST_PATH like above?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org