Author: sebb
Date: Sun Aug 21 13:53:03 2011
New Revision: 1159983

URL: http://svn.apache.org/viewvc?rev=1159983&view=rev
Log:
Unthrown Exception

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

Modified: 
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
URL: 
http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java?rev=1159983&r1=1159982&r2=1159983&view=diff
==============================================================================
--- 
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
 (original)
+++ 
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
 Sun Aug 21 13:53:03 2011
@@ -262,7 +262,7 @@ public class ZipArchiveInputStream exten
             if (current.usesZip64 && (cSize.equals(ZipLong.ZIP64_MAGIC)
                                       || size.equals(ZipLong.ZIP64_MAGIC))
                 ) {
-                current.entry.setCompressedSize(z64.getCompressedSize()
+                current.entry.setCompressedSize(z64.getCompressedSize() // z64 
cannot be null here
                                                 .getLongValue());
                 current.entry.setSize(z64.getSize().getLongValue());
             } else {
@@ -743,8 +743,7 @@ public class ZipArchiveInputStream exten
      * worst case) can be 20 bytes max.</p>
      */
     private int cacheBytesRead(ByteArrayOutputStream bos, int offset,
-                               int lastRead, int expecteDDLen)
-        throws IOException {
+                               int lastRead, int expecteDDLen) {
         final int cacheable = offset + lastRead - expecteDDLen - 3;
         if (cacheable > 0) {
             bos.write(buf.buf, 0, cacheable);


Reply via email to