maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r1185118 - /maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/document/DocumentModelTest.java
Date Mon, 17 Oct 2011 12:06:38 GMT
Author: ltheussl
Date: Mon Oct 17 12:06:38 2011
New Revision: 1185118

URL: http://svn.apache.org/viewvc?rev=1185118&view=rev
Log:
replace constructor not available in java 5

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/document/DocumentModelTest.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/document/DocumentModelTest.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/document/DocumentModelTest.java?rev=1185118&r1=1185117&r2=1185118&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/document/DocumentModelTest.java
(original)
+++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/document/DocumentModelTest.java
Mon Oct 17 12:06:38 2011
@@ -359,7 +359,7 @@ public class DocumentModelTest
         }
         catch ( XmlPullParserException e )
         {
-            throw new IOException( "Error parsing document descriptor", e );
+            throw (IOException) new IOException( "Error parsing document descriptor" ).initCause(
e );
         }
         finally
         {



Mime
View raw message