commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r750690 - /commons/sandbox/compress/trunk/src/test/java/org/apache/commons/compress/AbstractTestCase.java
Date Fri, 06 Mar 2009 00:00:17 GMT
Author: sebb
Date: Fri Mar  6 00:00:17 2009
New Revision: 750690

URL: http://svn.apache.org/viewvc?rev=750690&view=rev
Log:
IOException(String, Exception) is for Java 1.6+

Modified:
    commons/sandbox/compress/trunk/src/test/java/org/apache/commons/compress/AbstractTestCase.java

Modified: commons/sandbox/compress/trunk/src/test/java/org/apache/commons/compress/AbstractTestCase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/compress/trunk/src/test/java/org/apache/commons/compress/AbstractTestCase.java?rev=750690&r1=750689&r2=750690&view=diff
==============================================================================
--- commons/sandbox/compress/trunk/src/test/java/org/apache/commons/compress/AbstractTestCase.java
(original)
+++ commons/sandbox/compress/trunk/src/test/java/org/apache/commons/compress/AbstractTestCase.java
Fri Mar  6 00:00:17 2009
@@ -62,7 +62,7 @@
             return new File(new URI(url.toString()));
         } catch (java.net.URISyntaxException ex) {
             // impossible since URL.toString() should always yield a valid URI
-            throw new IOException(ex.getMessage(), ex);
+            throw new IOException(ex.getMessage());
         }
     }
 



Mime
View raw message