This commit is contained in:
jstaerk
2021-04-15 09:21:23 +02:00
parent e3679afa26
commit 92debd1b27
2 changed files with 2 additions and 1 deletions

View File

@@ -797,7 +797,7 @@ public class Main {
private static void ensureFileNotExists(String fileName) throws IOException {
if (fileExists(fileName)) {
throw new IOException(String.format("File %s does not exists", fileName));
throw new IOException(String.format("File %s already exists", fileName));
}
}