commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1552752 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/UnshrinkingInputStream.java
Date Fri, 20 Dec 2013 17:30:45 GMT
Author: ggregory
Date: Fri Dec 20 17:30:45 2013
New Revision: 1552752

URL: http://svn.apache.org/r1552752
Log:
The declared exception IOException is not actually thrown by the method partialClear().

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/UnshrinkingInputStream.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/UnshrinkingInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/UnshrinkingInputStream.java?rev=1552752&r1=1552751&r2=1552752&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/UnshrinkingInputStream.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/UnshrinkingInputStream.java
Fri Dec 20 17:30:45 2013
@@ -56,7 +56,7 @@ class UnshrinkingInputStream extends Abs
         return idx;
     }
     
-    private void partialClear() throws IOException {
+    private void partialClear() {
         final boolean[] isParent = new boolean[MAX_TABLE_SIZE];
         for (int i = 0; i < isUsed.length; i++) {
             if (isUsed[i] && prefixes[i] != -1) {



Mime
View raw message