creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549430 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequired.java
Date Mon, 09 Dec 2013 05:52:36 GMT
Author: rdonkin
Date: Mon Dec  9 05:52:35 2013
New Revision: 1549430

URL: http://svn.apache.org/r1549430
Log:
Add Java Doc.

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=1549430&r1=1549429&r2=1549430&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
Mon Dec  9 05:52:35 2013
@@ -28,10 +28,15 @@ import org.apache.rat.api.MetaData;
  */
 public class JavaDocLicenseNotRequired implements IHeaderMatcher {
 
+	/** The Constant JAVADOC_REGEX_DEFN. */
 	private static final String JAVADOC_REGEX_DEFN = "Generated by javadoc";
 
-	/**
+	/*
+	 * (non-Javadoc)
 	 * 
+	 * @see
+	 * org.apache.rat.analysis.IHeaderMatcher#match(org.apache.rat.api.Document,
+	 * java.lang.String)
 	 */
 	public boolean match(final Document subject, final String line) {
 		boolean result = line.contains(JAVADOC_REGEX_DEFN);
@@ -41,17 +46,22 @@ public class JavaDocLicenseNotRequired i
 		return result;
 	}
 
-	/**
+
+		/**
+	 * Report on license.
 	 * 
 	 * @param subject
+	 *            the subject
 	 */
 	private void reportOnLicense(final Document subject) {
 		subject.getMetaData().set(
 				MetaData.RAT_LICENSE_FAMILY_CATEGORY_DATUM_GEN);
 	}
 
-	/**
+	/*
+	 * (non-Javadoc)
 	 * 
+	 * @see org.apache.rat.analysis.IHeaderMatcher#reset()
 	 */
 	public void reset() {
 		// stateless



Mime
View raw message