From c901cb5fad3619d9baa7a977fbdc1cb3f0a85f4b Mon Sep 17 00:00:00 2001 From: Ahmed Tawila Date: Thu, 16 Nov 2017 10:39:51 +0200 Subject: [PATCH] fix build failures --- .../src/test/java/com/baeldung/file/FileOutputStreamTest.java | 1 - core-java/src/test/java/com/baeldung/file/FileWriterTest.java | 1 - core-java/src/test/java/com/baeldung/file/FilesTest.java | 1 - core-java/src/test/java/com/baeldung/file/GuavaTest.java | 1 - 4 files changed, 4 deletions(-) diff --git a/core-java/src/test/java/com/baeldung/file/FileOutputStreamTest.java b/core-java/src/test/java/com/baeldung/file/FileOutputStreamTest.java index d85c028dae..98984f9781 100644 --- a/core-java/src/test/java/com/baeldung/file/FileOutputStreamTest.java +++ b/core-java/src/test/java/com/baeldung/file/FileOutputStreamTest.java @@ -30,7 +30,6 @@ public class FileOutputStreamTest { @After public void revertFile() throws IOException { PrintWriter writer = new PrintWriter(fileName); - writer.print(""); writer.print("UK\r\n" + "US\r\n" + "Germany\r\n"); writer.close(); } diff --git a/core-java/src/test/java/com/baeldung/file/FileWriterTest.java b/core-java/src/test/java/com/baeldung/file/FileWriterTest.java index 5e1f2f35de..657593201b 100644 --- a/core-java/src/test/java/com/baeldung/file/FileWriterTest.java +++ b/core-java/src/test/java/com/baeldung/file/FileWriterTest.java @@ -34,7 +34,6 @@ public class FileWriterTest { @After public void revertFile() throws IOException { PrintWriter writer = new PrintWriter(fileName); - writer.print(""); writer.print("UK\r\n" + "US\r\n" + "Germany\r\n"); writer.close(); } diff --git a/core-java/src/test/java/com/baeldung/file/FilesTest.java b/core-java/src/test/java/com/baeldung/file/FilesTest.java index 0ca69db8ab..7da2d5ce7b 100644 --- a/core-java/src/test/java/com/baeldung/file/FilesTest.java +++ b/core-java/src/test/java/com/baeldung/file/FilesTest.java @@ -30,7 +30,6 @@ public class FilesTest { @After public void revertFile() throws IOException { PrintWriter writer = new PrintWriter(fileName); - writer.print(""); writer.print("UK\r\n" + "US\r\n" + "Germany\r\n"); writer.close(); } diff --git a/core-java/src/test/java/com/baeldung/file/GuavaTest.java b/core-java/src/test/java/com/baeldung/file/GuavaTest.java index 06379451f9..df6496b288 100644 --- a/core-java/src/test/java/com/baeldung/file/GuavaTest.java +++ b/core-java/src/test/java/com/baeldung/file/GuavaTest.java @@ -34,7 +34,6 @@ public class GuavaTest { @After public void revertFile() throws IOException { PrintWriter writer = new PrintWriter(fileName); - writer.print(""); writer.print("UK\r\n" + "US\r\n" + "Germany\r\n"); writer.close(); }