summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/src/test/java/at/gv/egiz/bku/utils/URLEncodingOutputStreamTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/src/test/java/at/gv/egiz/bku/utils/URLEncodingOutputStreamTest.java b/utils/src/test/java/at/gv/egiz/bku/utils/URLEncodingOutputStreamTest.java
index c470e28a..1ab876ef 100644
--- a/utils/src/test/java/at/gv/egiz/bku/utils/URLEncodingOutputStreamTest.java
+++ b/utils/src/test/java/at/gv/egiz/bku/utils/URLEncodingOutputStreamTest.java
@@ -78,7 +78,7 @@ public class URLEncodingOutputStreamTest {
URLEncodingOutputStream urlEnc = new URLEncodingOutputStream(writer);
OutputStreamWriter streamWriter = new OutputStreamWriter(urlEnc, UTF_8);
streamWriter.append(buf);
- streamWriter.flush();
+ streamWriter.close();
out1 = writer.toString();
// URLEncoder
@@ -114,7 +114,7 @@ public class URLEncodingOutputStreamTest {
}
}
System.out.println("Time " + dt + "ms");
-
+ streamWriter.close();
}
@Ignore