mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GT-3042 allow back, forward slashes in user name.
This commit is contained in:
parent
019594c09f
commit
bc2c1ac828
4 changed files with 89 additions and 95 deletions
|
@ -785,13 +785,13 @@ public final class FileUtilities {
|
|||
* @throws IOException if there are any issues reading the file
|
||||
*/
|
||||
public static List<String> getLines(BufferedReader in) throws IOException {
|
||||
List<String> fileLines = new ArrayList<>();
|
||||
try {
|
||||
List<String> fileLines = new ArrayList<>();
|
||||
String line;
|
||||
while ((line = in.readLine()) != null) {
|
||||
fileLines.add(line);
|
||||
}
|
||||
in.close();
|
||||
return fileLines;
|
||||
}
|
||||
finally {
|
||||
try {
|
||||
|
@ -801,7 +801,6 @@ public final class FileUtilities {
|
|||
// don't care; we tried
|
||||
}
|
||||
}
|
||||
return fileLines;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue