Return-Path: X-Original-To: apmail-creadur-commits-archive@www.apache.org Delivered-To: apmail-creadur-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A1CF810356 for ; Sat, 7 Dec 2013 11:15:38 +0000 (UTC) Received: (qmail 10575 invoked by uid 500); 7 Dec 2013 11:15:34 -0000 Delivered-To: apmail-creadur-commits-archive@creadur.apache.org Received: (qmail 10552 invoked by uid 500); 7 Dec 2013 11:15:31 -0000 Mailing-List: contact commits-help@creadur.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@creadur.apache.org Delivered-To: mailing list commits@creadur.apache.org Received: (qmail 10544 invoked by uid 99); 7 Dec 2013 11:15:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Dec 2013 11:15:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Dec 2013 11:15:23 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 938EE238883D; Sat, 7 Dec 2013 11:15:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@creadur.apache.org From: rdonkin@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131207111503.938EE238883D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 {