creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549144 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/DefaultAnalyser.java
Date Sun, 08 Dec 2013 19:43:41 GMT
Author: rdonkin
Date: Sun Dec  8 19:43:41 2013
New Revision: 1549144

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

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

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/DefaultAnalyser.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/DefaultAnalyser.java?rev=1549144&r1=1549143&r2=1549144&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/DefaultAnalyser.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/DefaultAnalyser.java
Sun Dec  8 19:43:41 2013
@@ -18,26 +18,50 @@
  */
 package org.apache.rat.analysis;
 
+import java.io.IOException;
+
 import org.apache.rat.api.Document;
 import org.apache.rat.api.MetaData;
 import org.apache.rat.document.IDocumentAnalyser;
 import org.apache.rat.document.impl.guesser.ArchiveGuesser;
 import org.apache.rat.document.impl.guesser.BinaryGuesser;
 import org.apache.rat.document.impl.guesser.NoteGuesser;
-import java.io.IOException;
 
+/**
+ * The Class DefaultAnalyser.
+ */
 final class DefaultAnalyser implements IDocumentAnalyser {
 
+	/** The matcher. */
 	private final IHeaderMatcher matcher;
+
+	/** The archive guesser. */
 	private final ArchiveGuesser archiveGuesser = new ArchiveGuesser();
+
+	/** The note guessor. */
 	private final NoteGuesser noteGuessor = new NoteGuesser();
+
+	/** The binary guessor. */
 	private final BinaryGuesser binaryGuessor = new BinaryGuesser();
 
+	/**
+	 * Instantiates a new default analyser.
+	 * 
+	 * @param matcher
+	 *            the matcher
+	 */
 	public DefaultAnalyser(final IHeaderMatcher matcher) {
 		super();
 		this.matcher = matcher;
 	}
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see
+	 * org.apache.rat.document.IDocumentAnalyser#analyse(org.apache.rat.api.
+	 * Document)
+	 */
 	public void analyse(final Document subject) throws IOException {
 		final MetaData.Datum documentCategory;
 		if (this.noteGuessor.matches(subject)) {



Mime
View raw message