Skip to content

Commit 2ef8bc2

Browse files
author
Grzegorz Piwowarek
committed
Remove souts
1 parent f12e6ee commit 2ef8bc2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎core-java/src/test/java/org/baeldung/core/exceptions/FileNotFoundExceptionTest.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public void createFile() throws IOException {
2828
try {
2929
new File(fileName).createNewFile();
3030
readFailingFile();
31-
System.out.println("File was created and read.");
3231
} catch (IOException ioe) {
3332
throw new RuntimeException("BusinessException: even creation is not possible.", ioe);
3433
}
@@ -41,7 +40,6 @@ public void logError() throws IOException {
4140
readFailingFile();
4241
} catch (FileNotFoundException ex) {
4342
LOG.error("Optional file " + fileName + " was not found.", ex);
44-
System.out.println("File was logged.");
4543
}
4644
}
4745

0 commit comments

Comments
 (0)