creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549213 - /creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/ToNameTransformerTest.java
Date Sun, 08 Dec 2013 20:47:39 GMT
Author: rdonkin
Date: Sun Dec  8 20:47:38 2013
New Revision: 1549213

URL: http://svn.apache.org/r1549213
Log:
Apply PMD change.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/ToNameTransformerTest.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/ToNameTransformerTest.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/ToNameTransformerTest.java?rev=1549213&r1=1549212&r2=1549213&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/ToNameTransformerTest.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/ToNameTransformerTest.java
Sun Dec  8 20:47:38 2013
@@ -19,7 +19,6 @@
 package org.apache.rat.document;
 
 import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
 
 import org.apache.rat.api.Document;
@@ -31,7 +30,7 @@ import org.junit.Test;
 public class ToNameTransformerTest {
 
 	/** The transformer. */
-	ToNameTransformer transformer = new ToNameTransformer();
+	private ToNameTransformer transformer = new ToNameTransformer();
 
 	/**
 	 * Transform location.
@@ -40,7 +39,6 @@ public class ToNameTransformerTest {
 	public void transformLocation() {
 		Document location = new MockLocation();
 		Object result = transformer.transform(location);
-		assertNotNull("Transform into name", result);
 		assertEquals("Transform into name", location.getName(), result);
 	}
 



Mime
View raw message