Skip to content

[MDEP-930] runTreeMojo in TestTreeMojo ignores encoding #1446

@jira-importer

Description

@jira-importer

Elliotte Rusty Harold opened MDEP-930 and commented

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();

Remote Links:

Metadata

Metadata

Assignees

Labels

priority:minorMinor loss of function, or other problem where easy workaround is present

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions