creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1548865 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java
Date Sat, 07 Dec 2013 11:15:03 GMT
Author: rdonkin
Date: Sat Dec  7 11:15:03 2013
New Revision: 1548865

URL: http://svn.apache.org/r1548865
Log:
Apply PMD Rules.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java?rev=1548865&r1=1548864&r2=1548865&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java
Sat Dec  7 11:15:03 2013
@@ -22,7 +22,6 @@ import java.io.IOException;
 import java.util.Calendar;
 
 import org.apache.commons.lang.time.DateFormatUtils;
-
 import org.apache.rat.api.Document;
 import org.apache.rat.api.MetaData;
 import org.apache.rat.api.RatException;
@@ -44,6 +43,7 @@ public class SimpleXmlClaimReporter exte
 	private boolean firstTime = true;
 
 	public SimpleXmlClaimReporter(final IXmlWriter writer) {
+		super();
 		this.writer = writer;
 	}
 
@@ -62,8 +62,8 @@ public class SimpleXmlClaimReporter exte
 	 * @throws RatException
 	 *             Another error occurred while writing the claim.
 	 */
-	protected void writeClaim(String pPredicate, String pObject,
-			boolean pLiteral) throws IOException, RatException {
+	protected void writeClaim(final String pPredicate, final String pObject,
+			final boolean pLiteral) throws IOException, RatException {
 		if (pLiteral) {
 			writer.openElement(pPredicate).content(pObject).closeElement();
 		} else {



Mime
View raw message