creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1548422 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequired.java
Date Fri, 06 Dec 2013 08:35:52 GMT
Author: rdonkin
Date: Fri Dec  6 08:35:52 2013
New Revision: 1548422

URL: http://svn.apache.org/r1548422
Log:
Apply PMD Rules.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequired.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequired.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequired.java?rev=1548422&r1=1548421&r2=1548422&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequired.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequired.java
Fri Dec  6 08:35:52 2013
@@ -34,7 +34,7 @@ public class JavaDocLicenseNotRequired i
 	/**
 	 * 
 	 */
-	public boolean match(Document subject, String line)
+	public boolean match(final Document subject, final String line)
 			throws RatHeaderAnalysisException {
 		boolean result = line.contains(JAVADOC_REGEX_DEFN);
 		if (result) {
@@ -47,7 +47,7 @@ public class JavaDocLicenseNotRequired i
 	 * 
 	 * @param subject
 	 */
-	private void reportOnLicense(Document subject) {
+	private void reportOnLicense(final Document subject) {
 		subject.getMetaData().set(
 				MetaData.RAT_LICENSE_FAMILY_CATEGORY_DATUM_GEN);
 	}



Mime
View raw message