Author: rdonkin
Date: Mon Dec  9 05:39:46 2013
New Revision: 1549399

URL: http://svn.apache.org/r1549399
Log:
Apply PMD change.

Modified:
    
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java

Modified: 
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java
URL: 
http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java?rev=1549399&r1=1549398&r2=1549399&view=diff
==============================================================================
--- 
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java
 (original)
+++ 
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java
 Mon Dec  9 05:39:46 2013
@@ -21,6 +21,7 @@ package org.apache.rat.report.xml;
 import static org.junit.Assert.assertTrue;
 
 import java.io.File;
+import java.io.IOException;
 import java.io.StringWriter;
 import java.util.ArrayList;
 import java.util.List;
@@ -49,13 +50,13 @@ public class XmlReportTest {
        private static final Pattern IGNORE = Pattern.compile(".svn");
 
        /** The out. */
-       StringWriter out;
+       private StringWriter out;
 
        /** The writer. */
-       IXmlWriter writer;
+       private IXmlWriter writer;
 
        /** The report. */
-       RatReport report;
+       private RatReport report;
 
        /**
         * Sets the up.
@@ -90,21 +91,21 @@ public class XmlReportTest {
         * 
         * @param directory
         *            the directory
-        * @throws Exception
-        *             the exception
+        * @throws IOException
+        *             Signals that an I/O exception has occurred.
         */
-       private void report(final DirectoryWalker directory) throws Exception {
+       private void report(final DirectoryWalker directory) throws IOException 
{
                directory.run(this.report);
        }
 
        /**
         * Base report.
         * 
-        * @throws Exception
-        *             the exception
+        * @throws IOException
+        *             Signals that an I/O exception has occurred.
         */
        @Test
-       public void baseReport() throws Exception {
+       public void baseReport() throws IOException {
                final String elementsPath = Resources
                                .getResourceDirectory("elements/Source.java");
                final DirectoryWalker directory = new DirectoryWalker(new File(


Reply via email to