creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549459 - in /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat: license/SimpleLicenseFamily.java policy/DefaultPolicy.java
Date Mon, 09 Dec 2013 06:06:52 GMT
Author: rdonkin
Date: Mon Dec  9 06:06:52 2013
New Revision: 1549459

URL: http://svn.apache.org/r1549459
Log:
Format Code.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/license/SimpleLicenseFamily.java
    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/license/SimpleLicenseFamily.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/license/SimpleLicenseFamily.java?rev=1549459&r1=1549458&r2=1549459&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/license/SimpleLicenseFamily.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/license/SimpleLicenseFamily.java
Mon Dec  9 06:06:52 2013
@@ -20,7 +20,7 @@ package org.apache.rat.license;
 
 /**
  * Trivial bean implementing ILicenseFamily.
- * 
+ *
  * @since Rat 0.8
  */
 public class SimpleLicenseFamily implements ILicenseFamily {
@@ -30,7 +30,7 @@ public class SimpleLicenseFamily impleme
 
 	/**
 	 * Instantiates a new simple license family.
-	 * 
+	 *
 	 * @param familyName
 	 *            the family name
 	 */
@@ -42,12 +42,12 @@ public class SimpleLicenseFamily impleme
 	 * Instantiates a new simple license family.
 	 */
 	public SimpleLicenseFamily() {
-		this(null);
+		this("");
 	}
 
 	/**
 	 * Sets the family name.
-	 * 
+	 *
 	 * @param familyName
 	 *            the new family name
 	 */
@@ -55,9 +55,9 @@ public class SimpleLicenseFamily impleme
 		this.familyName = familyName;
 	}
 
-	/*
-	 * (non-Javadoc)
-	 * 
+	/**
+	 *
+	 *
 	 * @see org.apache.rat.license.ILicenseFamily#getFamilyName()
 	 */
 	public final String getFamilyName() {

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=1549459&r1=1549458&r2=1549459&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
Mon Dec  9 06:06:52 2013
@@ -40,7 +40,7 @@ public class DefaultPolicy {
     /** The Constant APPROVED_LICENSES. */
     private static final String[] APPROVED_LICENSES = { APACHE.getName(),
             OASIS.getName(), W3C.getName(), W3C_DOCUMENTATION.getName(),
-            TMF854.getName(), MIT.getName(), CDDL1.getName(), };
+            TMF854.getName(), MIT.getName(), CDDL1.getName()};
 
     /**
      * To names.



Mime
View raw message