You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by rd...@apache.org on 2013/12/08 20:44:26 UTC

svn commit: r1549146 - /creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/HeaderCheckWorkerTest.java

Author: rdonkin
Date: Sun Dec  8 19:44:26 2013
New Revision: 1549146

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

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/HeaderCheckWorkerTest.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/HeaderCheckWorkerTest.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/HeaderCheckWorkerTest.java?rev=1549146&r1=1549145&r2=1549146&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/HeaderCheckWorkerTest.java (original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/HeaderCheckWorkerTest.java Sun Dec  8 19:44:26 2013
@@ -15,16 +15,13 @@
  * KIND, either express or implied.  See the License for the    *
  * specific language governing permissions and limitations      *
  * under the License.                                           *
- */ 
+ */
 
 package org.apache.rat.analysis;
 
-import org.apache.rat.analysis.HeaderCheckWorker;
-import org.apache.rat.analysis.IHeaderMatcher;
-import org.apache.rat.analysis.license.ApacheSoftwareLicense20;
-import org.apache.rat.api.Document;
-import org.apache.rat.document.MockLocation;
-import org.junit.Test;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
 
 import java.io.ByteArrayInputStream;
 import java.io.InputStream;
@@ -33,12 +30,22 @@ import java.io.Reader;
 import java.io.StringReader;
 import java.io.UnsupportedEncodingException;
 
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
+import org.apache.rat.analysis.license.ApacheSoftwareLicense20;
+import org.apache.rat.api.Document;
+import org.apache.rat.document.MockLocation;
+import org.junit.Test;
 
+/**
+ * The Class HeaderCheckWorkerTest.
+ */
 public class HeaderCheckWorkerTest {
 
+	/**
+	 * Checks if is finished.
+	 * 
+	 * @throws Exception
+	 *             the exception
+	 */
     @Test
     public void isFinished() throws Exception {
         final Document subject = new MockLocation("subject");