mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Remove exact refrence to imported class in FileUtils (Thanks @Konicai)
This commit is contained in:
parent
65e85eb853
commit
26a778fd77
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ public class FileUtils {
|
|||
*/
|
||||
public static Stream<String> readAllLines(Path path) {
|
||||
try {
|
||||
return new BufferedReader(new InputStreamReader(java.nio.file.Files.newInputStream(path))).lines();
|
||||
return new BufferedReader(new InputStreamReader(Files.newInputStream(path))).lines();
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException("Error while trying to read file!", e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue