summaryrefslogtreecommitdiffstats
path: root/documentapi/src
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@oath.com>2018-04-06 16:03:48 +0200
committerTor Brede Vekterli <vekterli@oath.com>2018-04-06 16:03:48 +0200
commit3e3ed1f2115a6b9fbb524c753ab2d6d65371adb1 (patch)
treeeb95e251272d038ed1de3414f76901fbbadc0fdd /documentapi/src
parent291d51c8063ad4f420dd80fc3b8a09c8ebab2a9a (diff)
Remove unneeded flush() call on stream
Diffstat (limited to 'documentapi/src')
-rw-r--r--documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/test/TestFileUtil.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/test/TestFileUtil.java b/documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/test/TestFileUtil.java
index 50f8f82b180..722e42bc3a5 100644
--- a/documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/test/TestFileUtil.java
+++ b/documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/test/TestFileUtil.java
@@ -20,7 +20,6 @@ public class TestFileUtil {
String tmpPath = path + ".tmp";
try (FileOutputStream stream = new FileOutputStream(tmpPath)) {
stream.write(data);
- stream.flush();
}
// We make the assumption that all file systems we run these tests on support some form
// of atomic moving rather than "move by content copy".