You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2013/01/27 14:15:05 UTC

svn commit: r1439078 - /commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java

Author: sebb
Date: Sun Jan 27 13:15:05 2013
New Revision: 1439078

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

Modified:
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java

Modified: commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java?rev=1439078&r1=1439077&r2=1439078&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java (original)
+++ commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java Sun Jan 27 13:15:05 2013
@@ -23,7 +23,6 @@ import java.io.FileInputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.UnsupportedEncodingException;
-import java.net.URISyntaxException;
 import java.nio.ByteBuffer;
 import java.util.Enumeration;
 import java.util.zip.CRC32;
@@ -84,7 +83,7 @@ public class UTF8ZipFilesTest extends Ab
      * 7-ZIP doesn't use EFS for strings that can be encoded in CP437
      * - which is true for OIL_BARREL_TXT.
      */
-    public void testRead7ZipArchive() throws IOException, URISyntaxException {
+    public void testRead7ZipArchive() throws IOException {
         File archive = getFile("utf8-7zip-test.zip");
         ZipFile zf = null;
         try {
@@ -97,8 +96,7 @@ public class UTF8ZipFilesTest extends Ab
         }
     }
 
-    public void testRead7ZipArchiveForStream() throws IOException,
-                                                      URISyntaxException {
+    public void testRead7ZipArchiveForStream() throws IOException {
         FileInputStream archive =
             new FileInputStream(getFile("utf8-7zip-test.zip"));
         ZipArchiveInputStream zi = null;
@@ -118,7 +116,7 @@ public class UTF8ZipFilesTest extends Ab
      * WinZIP created archive, uses Unicode Extra Fields but only in
      * the central directory.
      */
-    public void testReadWinZipArchive() throws IOException, URISyntaxException {
+    public void testReadWinZipArchive() throws IOException {
         File archive = getFile("utf8-winzip-test.zip");
         ZipFile zf = null;
         try {
@@ -143,8 +141,7 @@ public class UTF8ZipFilesTest extends Ab
         }
     }
 
-    public void testReadWinZipArchiveForStream() throws IOException,
-                                                      URISyntaxException {
+    public void testReadWinZipArchiveForStream() throws IOException {
         FileInputStream archive =
             new FileInputStream(getFile("utf8-winzip-test.zip"));
         ZipArchiveInputStream zi = null;
@@ -197,7 +194,7 @@ public class UTF8ZipFilesTest extends Ab
     }
 
     public void testRawNameReadFromZipFile()
-        throws IOException, URISyntaxException {
+        throws IOException {
         File archive = getFile("utf8-7zip-test.zip");
         ZipFile zf = null;
         try {
@@ -209,7 +206,7 @@ public class UTF8ZipFilesTest extends Ab
     }
 
     public void testRawNameReadFromStream()
-        throws IOException, URISyntaxException {
+        throws IOException {
         FileInputStream archive =
             new FileInputStream(getFile("utf8-7zip-test.zip"));
         ZipArchiveInputStream zi = null;