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 DC08D101F7 for ; Sun, 8 Dec 2013 21:28:53 +0000 (UTC) Received: (qmail 99495 invoked by uid 500); 8 Dec 2013 21:28:53 -0000 Delivered-To: apmail-creadur-commits-archive@creadur.apache.org Received: (qmail 99470 invoked by uid 500); 8 Dec 2013 21:28:53 -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 99463 invoked by uid 99); 8 Dec 2013 21:28:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Dec 2013 21:28:53 +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; Sun, 08 Dec 2013 21:28:51 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id BBA242388868; Sun, 8 Dec 2013 21:28:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1549294 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportConfiguration.java Date: Sun, 08 Dec 2013 21:28:30 -0000 To: commits@creadur.apache.org From: rdonkin@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131208212830.BBA242388868@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sun Dec 8 21:28:30 2013 New Revision: 1549294 URL: http://svn.apache.org/r1549294 Log: Apply PMD change. Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportConfiguration.java Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportConfiguration.java URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportConfiguration.java?rev=1549294&r1=1549293&r2=1549294&view=diff ============================================================================== --- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportConfiguration.java (original) +++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportConfiguration.java Sun Dec 8 21:28:30 2013 @@ -58,7 +58,7 @@ public class ReportConfiguration { * @param headerMatcher * the new header matcher */ - public void setHeaderMatcher(IHeaderMatcher headerMatcher) { + public void setHeaderMatcher(final IHeaderMatcher headerMatcher) { this.headerMatcher = headerMatcher; } @@ -77,8 +77,9 @@ public class ReportConfiguration { * @param approvedLicenseNames * the new approved license names */ - public void setApprovedLicenseNames(ILicenseFamily[] approvedLicenseNames) { - this.approvedLicenseNames = approvedLicenseNames; + public void setApprovedLicenseNames( + final ILicenseFamily... approvedLicenseNames) { + this.approvedLicenseNames = approvedLicenseNames.clone(); } /** @@ -100,7 +101,7 @@ public class ReportConfiguration { * the new copyright message * @see #setAddingLicenses(boolean) */ - public void setCopyrightMessage(String copyrightMessage) { + public void setCopyrightMessage(final String copyrightMessage) { this.copyrightMessage = copyrightMessage; } @@ -123,7 +124,7 @@ public class ReportConfiguration { * the new adding licenses forced * @see #isAddingLicenses() */ - public void setAddingLicensesForced(boolean addingLicensesForced) { + public void setAddingLicensesForced(final boolean addingLicensesForced) { this.addingLicensesForced = addingLicensesForced; } @@ -146,7 +147,7 @@ public class ReportConfiguration { * @see #setAddingLicensesForced(boolean) * @see #setCopyrightMessage(String) */ - public void setAddingLicenses(boolean addingLicenses) { + public void setAddingLicenses(final boolean addingLicenses) { this.addingLicenses = addingLicenses; }