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/07 11:41:57 UTC
svn commit: r1548834 -
/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/SimplePatternBasedLicenseTest.java
Author: rdonkin
Date: Sat Dec 7 10:41:57 2013
New Revision: 1548834
URL: http://svn.apache.org/r1548834
Log:
Apply PMD Rules.
Modified:
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/SimplePatternBasedLicenseTest.java
Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/SimplePatternBasedLicenseTest.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/SimplePatternBasedLicenseTest.java?rev=1548834&r1=1548833&r2=1548834&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/SimplePatternBasedLicenseTest.java (original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/SimplePatternBasedLicenseTest.java Sat Dec 7 10:41:57 2013
@@ -34,7 +34,7 @@ public class SimplePatternBasedLicenseTe
*/
@Test
public void testLicenseFamilyConstructorSetsNotes() {
- final String someNotes = "Some notes about a license family";
+ String someNotes = "Some notes about a license family";
assertThat(
new SimplePatternBasedLicense(aLicenseFamily().withNotes(
someNotes).build()).getNotes(), is(someNotes));
@@ -45,7 +45,7 @@ public class SimplePatternBasedLicenseTe
*/
@Test
public void testLicenseFamilyConstructorSetsCategory() {
- final String someCategory = "http://some.category.org";
+ String someCategory = "http://some.category.org";
assertThat(
new SimplePatternBasedLicense(aLicenseFamily().withCategory(
someCategory).build()).getLicenseFamilyCategory(),
@@ -57,7 +57,7 @@ public class SimplePatternBasedLicenseTe
*/
@Test
public void testLicenseFamilyConstructorSetsName() {
- final String someName = "http://some.name.org";
+ String someName = "http://some.name.org";
assertThat(
new SimplePatternBasedLicense(aLicenseFamily().withName(
someName).build()).getLicenseFamilyName(), is(someName));