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 A01D01017E for ; Sun, 8 Dec 2013 21:09:47 +0000 (UTC) Received: (qmail 84810 invoked by uid 500); 8 Dec 2013 21:09:47 -0000 Delivered-To: apmail-creadur-commits-archive@creadur.apache.org Received: (qmail 84785 invoked by uid 500); 8 Dec 2013 21:09:47 -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 84777 invoked by uid 99); 8 Dec 2013 21:09:47 -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:09:47 +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:09:41 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4F4B22388831; Sun, 8 Dec 2013 21:09:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1549255 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/policy/DefaultPolicy.java Date: Sun, 08 Dec 2013 21:09:20 -0000 To: commits@creadur.apache.org From: rdonkin@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131208210920.4F4B22388831@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sun Dec 8 21:09:19 2013 New Revision: 1549255 URL: http://svn.apache.org/r1549255 Log: Apply PMD change. Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/policy/DefaultPolicy.java Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/policy/DefaultPolicy.java URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/policy/DefaultPolicy.java?rev=1549255&r1=1549254&r2=1549255&view=diff ============================================================================== --- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/policy/DefaultPolicy.java (original) +++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/policy/DefaultPolicy.java Sun Dec 8 21:09:19 2013 @@ -50,7 +50,7 @@ public class DefaultPolicy { * @return the string[] */ private static final String[] toNames( - final ILicenseFamily[] approvedLicenses) { + final ILicenseFamily... approvedLicenses) { String[] results = null; if (approvedLicenses != null) { final int length = approvedLicenses.length; @@ -78,7 +78,7 @@ public class DefaultPolicy { * @param approvedLicenses * the approved licenses */ - public DefaultPolicy(final ILicenseFamily[] approvedLicenses) { + public DefaultPolicy(final ILicenseFamily... approvedLicenses) { this(toNames(approvedLicenses)); } @@ -89,7 +89,7 @@ public class DefaultPolicy { * the approved license names */ - public DefaultPolicy(final String[] approvedLicenseNames) { + public DefaultPolicy(final String... approvedLicenseNames) { if (approvedLicenseNames == null) { this.approvedLicenseNames = APPROVED_LICENSES; } else {