creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
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 GMT
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 {



Mime
View raw message