This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-antrun-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new c8c0c3c  Remove javadoc generation warnings
c8c0c3c is described below

commit c8c0c3cc0d7c0d2e740bfc03a6b07e149ba1551a
Author: Sylwester Lachiewicz <slachiew...@apache.org>
AuthorDate: Sun Apr 12 22:14:34 2020 +0200

    Remove javadoc generation warnings
---
 .../AntrunXmlPlexusConfigurationWriterTest.java    | 28 ++++++++++------------
 1 file changed, 12 insertions(+), 16 deletions(-)

diff --git 
a/src/test/java/org/apache/maven/plugins/antrun/AntrunXmlPlexusConfigurationWriterTest.java
 
b/src/test/java/org/apache/maven/plugins/antrun/AntrunXmlPlexusConfigurationWriterTest.java
index c181b12..fe66f6f 100644
--- 
a/src/test/java/org/apache/maven/plugins/antrun/AntrunXmlPlexusConfigurationWriterTest.java
+++ 
b/src/test/java/org/apache/maven/plugins/antrun/AntrunXmlPlexusConfigurationWriterTest.java
@@ -62,12 +62,11 @@ public class AntrunXmlPlexusConfigurationWriterTest
 
     /**
      * Tests that the XML file produced with the writer is pretty printed and 
that basic attributes are kept.
-     * 
-     * @throws Exception
+     *
+     * @throws IOException In case of problems
      */
     @Test
-    public void testBasic()
-        throws Exception
+    public void testBasic() throws IOException
     {
         configuration.getChild( "echo", true ).setAttribute( "message", 
"Hello" );
         configurationWriter.write( configuration, file, "", TARGET_NAME );
@@ -76,12 +75,11 @@ public class AntrunXmlPlexusConfigurationWriterTest
 
     /**
      * Tests that serialization is correct even if Ant target is empty (no 
children, no attributes except name).
-     * 
-     * @throws Exception
+     *
+     * @throws IOException In case of problems
      */
     @Test
-    public void testEmptyTarget()
-        throws Exception
+    public void testEmptyTarget() throws IOException
     {
         configurationWriter.write( configuration, file, "", TARGET_NAME );
         assertXmlIsExpected( "/configuration-writer/empty-target.xml", file );
@@ -89,12 +87,11 @@ public class AntrunXmlPlexusConfigurationWriterTest
 
     /**
      * Tests that setting a custom prefix ends up in the project namespace in 
the target element with the correct name.
-     * 
-     * @throws Exception
+     *
+     * @throws IOException In case of problems
      */
     @Test
-    public void testCustomTaskPrefix()
-        throws Exception
+    public void testCustomTaskPrefix() throws IOException
     {
         PlexusConfiguration child = configuration.getChild( "mvn:foo", true );
         child.setAttribute( "attr1", "val1" );
@@ -109,12 +106,11 @@ public class AntrunXmlPlexusConfigurationWriterTest
     /**
      * Tests that combine.children and combine.self attributes in the XML 
configuration elements are ignored during
      * serialization.
-     * 
-     * @throws Exception
+     *
+     * @throws IOException In case of problems
      */
     @Test
-    public void testCombineAttributes()
-        throws Exception
+    public void testCombineAttributes() throws IOException
     {
         configuration.setAttribute( "combine.children", "append" );
         configuration.setAttribute( "description", "foo" );

Reply via email to