3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-05 01:11:08 +02:00

Remove exact refrence to imported class in FileUtils (Thanks @Konicai)

Dieser Commit ist enthalten in:
rtm516 2021-08-25 15:53:20 +01:00
Ursprung 65e85eb853
Commit 26a778fd77
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 331715B8B007C67A

Datei anzeigen

@ -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);
}