gnodet commented on code in PR #1080:
URL: https://github.com/apache/maven/pull/1080#discussion_r1158376329


##########
maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java:
##########
@@ -40,7 +42,10 @@ public class ArtifactHandlerTest {
     public void testAptConsistency() throws Exception {
         File apt = getTestFile("src/site/apt/artifact-handlers.apt");
 
-        List<String> lines = FileUtils.readLines(apt);
+        List<String> lines;
+        try (Stream<String> l = Files.lines(apt.toPath())) {

Review Comment:
   Thx, not sure how I missed that one !
   I don't think a charset is needed: `Files.readAllLines` uses `UTF-8` which 
is the encoding used in the `artifact-handlers.apt` file.



-- 
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]

Reply via email to