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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to