Skip to content

Commit b515228

Browse files
committed
[CODEC-183] BaseNCodecOutputStream only supports writing EOF on close().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1640002 13f79535-47bb-0310-9956-ffa450edef68
1 parent fb09a1d commit b515228

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/changes/changes.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ The <action> type attribute can be add,update,fix,remove.
4242
<author>Gary Gregory</author>
4343
</properties>
4444
<body>
45-
<release version="1.11" date="DD MM 2014" description="Feature and fix release.">
45+
<release version="1.11" date="DD MM 2014" description="Feature and fix release.">
46+
<action dev="ggregory" type="add" issue="CODEC-183">BaseNCodecOutputStream only supports writing EOF on close()</action>
4647
<action dev="ggregory" type="add" issue="CODEC-195">Support SHA-224 in DigestUtils on Java 8</action>
4748
<action dev="ggregory" type="add" issue="CODEC-194">Support java.nio.ByteBuffer in org.apache.commons.codec.binary.Hex</action>
4849
<action dev="ggregory" type="add" issue="CODEC-193">Support java.nio.ByteBuffer in DigestUtils</action>

src/main/java/org/apache/commons/codec/binary/BaseNCodecOutputStream.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ public void close() throws IOException {
162162
*
163163
* @throws IOException
164164
* if an I/O error occurs.
165+
* @since 1.11
165166
*/
166167
public void eof() throws IOException {
167168
// Notify encoder of EOF (-1).

0 commit comments

Comments
 (0)