[ https://issues.apache.org/jira/browse/MDEP-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17890944#comment-17890944 ]
ASF GitHub Bot commented on MDEP-930: ------------------------------------- elharo merged PR #448: URL: https://github.com/apache/maven-dependency-plugin/pull/448 > runTreeMojo in TestTreeMojo ignores encoding > -------------------------------------------- > > Key: MDEP-930 > URL: https://issues.apache.org/jira/browse/MDEP-930 > Project: Maven Dependency Plugin > Issue Type: Test > Reporter: Elliotte Rusty Harold > Assignee: Elliotte Rusty Harold > Priority: Minor > > Should probably use something like Files.readAllLines with a charset or > equivalent instead here. > ``` > BufferedReader fp1 = new BufferedReader(new > FileReader(outputFileName)); > List<String> contents = new ArrayList<>(); > String line; > while ((line = fp1.readLine()) != null) { > contents.add(line); > } > fp1.close(); > ``` -- This message was sent by Atlassian Jira (v8.20.10#820010)