You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2017/05/07 15:12:22 UTC
commons-compress git commit: COMPRESS-393 don't try to invoke
LZMAOutputStream#flush
Repository: commons-compress
Updated Branches:
refs/heads/master 092bcac5b -> abfdf35fa
COMPRESS-393 don't try to invoke LZMAOutputStream#flush
Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/abfdf35f
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/abfdf35f
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/abfdf35f
Branch: refs/heads/master
Commit: abfdf35fa5df95853d0f1f9fe0c60f4a1ae8fdee
Parents: 092bcac
Author: Stefan Bodewig <bo...@apache.org>
Authored: Sun May 7 17:10:18 2017 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sun May 7 17:12:04 2017 +0200
----------------------------------------------------------------------
src/changes/changes.xml | 4 ++++
.../compress/compressors/lzma/LZMACompressorOutputStream.java | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/abfdf35f/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index a0e9b15..a274ee7 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -110,6 +110,10 @@ The <action> type attribute can be add,update,fix,remove.
due-to="Zbynek Vyskovsky">
ZipEntry now exposes its data offset.
</action>
+ <action issue="COMPRESS-393" type="fix" date="2017-05-07">
+ LZMACompressorOutputStream#flush would throw an exception
+ rather than be the NOP it promised to be.
+ </action>
</release>
<release version="1.13" date="2016-12-29"
description="Release 1.13 - API compatible to 1.12 but requires Java 7 at runtime.">
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/abfdf35f/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorOutputStream.java b/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorOutputStream.java
index 6669262..e6bdfa4 100644
--- a/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorOutputStream.java
@@ -60,7 +60,6 @@ public class LZMACompressorOutputStream extends CompressorOutputStream {
*/
@Override
public void flush() throws IOException {
- out.flush();
}
/**