You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pe...@apache.org on 2021/12/07 04:10:17 UTC

[commons-compress] branch master updated: fix COMPRESS-596

This is an automated email from the ASF dual-hosted git repository.

peterlee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git


The following commit(s) were added to refs/heads/master by this push:
     new c8a14ef  fix COMPRESS-596
c8a14ef is described below

commit c8a14ef085a21b276233d4bab09d0d044b01e15d
Author: PeterAlfredLee <pe...@gmail.com>
AuthorDate: Tue Dec 7 12:09:35 2021 +0800

    fix COMPRESS-596
---
 src/changes/changes.xml    | 4 ++++
 src/site/xdoc/examples.xml | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index e1bc453..5bb14ae 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -96,6 +96,10 @@ The <action> type attribute can be add,update,fix,remove.
       <action type="update" dev="kinow" due-to="Gary Gregory">
         Bump commons.japicmp.version from 0.15.3 to 0.15.4.
       </action>
+      <action issue="COMPRESS-596" type="fix" date="2021-12-07"
+              dev="Peter Lee" due-to="Tamas Mucs">
+        Fix minor problem in examples.
+      </action>
     </release>
     <release version="1.21" date="2021-07-12"
              description="Release 1.21 (Java 8)
diff --git a/src/site/xdoc/examples.xml b/src/site/xdoc/examples.xml
index 2ceac92..be9df24 100644
--- a/src/site/xdoc/examples.xml
+++ b/src/site/xdoc/examples.xml
@@ -275,7 +275,7 @@ try (ArchiveOutputStream o = ... create the stream for your format ...) {
         }
         o.closeArchiveEntry();
     }
-    out.finish();
+    o.finish();
 }
 ]]></source>