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 2016/01/29 21:58:52 UTC
commons-compress git commit: COMPRESS-323 ZipFile.getRawInputStream
is public now
Repository: commons-compress
Updated Branches:
refs/heads/master e0a76ac46 -> 7a6e507dc
COMPRESS-323 ZipFile.getRawInputStream is public now
Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/7a6e507d
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/7a6e507d
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/7a6e507d
Branch: refs/heads/master
Commit: 7a6e507dcd5788e3c41e6c249f505283c9f4adf0
Parents: e0a76ac
Author: Stefan Bodewig <bo...@apache.org>
Authored: Fri Jan 29 21:58:12 2016 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Fri Jan 29 21:58:12 2016 +0100
----------------------------------------------------------------------
src/changes/changes.xml | 3 +++
.../java/org/apache/commons/compress/archivers/zip/ZipFile.java | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/7a6e507d/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 12c274d..518381e 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -44,6 +44,9 @@ The <action> type attribute can be add,update,fix,remove.
<body>
<release version="1.11" date="not released, yet"
description="Release 1.11">
+ <action issue="COMPRESS-323" type="add" date="2016-01-29">
+ ZipFile.getRawInputStream() is now part of the public API
+ </action>
<action issue="COMPRESS-332" type="fix" date="2016-01-29">
SnappyCompressorInputStream and
FramedSnappyCompressorInputStream returned 0 at the end of the
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/7a6e507d/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
index a7e3091..51fe771 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
@@ -357,7 +357,7 @@ public class ZipFile implements Closeable {
* @param ze The entry to get the stream for
* @return The raw input stream containing (possibly) compressed data.
*/
- private InputStream getRawInputStream(ZipArchiveEntry ze) {
+ public InputStream getRawInputStream(ZipArchiveEntry ze) {
if (!(ze instanceof Entry)) {
return null;
}