-
Notifications
You must be signed in to change notification settings - Fork 182
Closed
Labels
priority:minorMinor loss of function, or other problem where easy workaround is presentMinor loss of function, or other problem where easy workaround is present
Description
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 presentMinor loss of function, or other problem where easy workaround is present