creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1548296 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java
Date Thu, 05 Dec 2013 20:47:53 GMT
Author: rdonkin
Date: Thu Dec  5 20:47:53 2013
New Revision: 1548296

URL: http://svn.apache.org/r1548296
Log:
Add java doc

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

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java?rev=1548296&r1=1548295&r2=1548296&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java
Thu Dec  5 20:47:53 2013
@@ -24,7 +24,11 @@ import org.apache.rat.analysis.IHeaderMa
 import org.apache.rat.analysis.RatHeaderAnalysisException;
 import org.apache.rat.api.Document;
 import org.apache.rat.api.MetaData;
-
+/**
+ * 
+ * @author Manuel
+ *
+ */
 public class GeneratedLicenseNotRequired implements IHeaderMatcher {
 
 	private static final String[] EMPTY_STRING_ARRAY = new String[0];
@@ -55,20 +59,38 @@ public class GeneratedLicenseNotRequired
 	private final Pattern[] linePatterns;
 	private final String[] phrases;
 
+	/**
+	 * 
+	 */
 	public GeneratedLicenseNotRequired() {
 		this(DEFAULT_PHRASES);
 	}
 
+	/**
+	 * 
+	 * @param linePatterns
+	 */
 	public GeneratedLicenseNotRequired(final Pattern[] linePatterns) {
 		this.linePatterns = linePatterns;
 		this.phrases = EMPTY_STRING_ARRAY;
 	}
 
+	/**
+	 * 
+	 * @param lines
+	 */
 	public GeneratedLicenseNotRequired(final String[] lines) {
 		this.linePatterns = EMPTY_PATTERN_ARRAY;
 		this.phrases = lines;
 	}
 
+	/**
+	 * 
+	 * @param subject
+	 * @param line
+	 * @return
+	 * @throws RatHeaderAnalysisException
+	 */
 	public boolean match(Document subject, String line)
 			throws RatHeaderAnalysisException {
 		boolean result = false;
@@ -89,11 +111,18 @@ public class GeneratedLicenseNotRequired
 		return result;
 	}
 
+	/**
+	 * 
+	 * @param subject
+	 */
 	private void reportOnLicense(Document subject) {
 		subject.getMetaData().set(
 				MetaData.RAT_LICENSE_FAMILY_CATEGORY_DATUM_GEN);
 	}
 
+	/**
+	 * 
+	 */
 	public void reset() {
 		// stateless
 	}



Mime
View raw message