Author: rdonkin
Date: Fri Dec  6 17:44:24 2013
New Revision: 1548609

URL: http://svn.apache.org/r1548609
Log:
Apply PMD Rules.

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

Modified: 
creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/license/AppliedApacheSoftwareLicense20.java
URL: 
http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/license/AppliedApacheSoftwareLicense20.java?rev=1548609&r1=1548608&r2=1548609&view=diff
==============================================================================
--- 
creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/license/AppliedApacheSoftwareLicense20.java
 (original)
+++ 
creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/license/AppliedApacheSoftwareLicense20.java
 Fri Dec  6 17:44:24 2013
@@ -65,7 +65,7 @@ public class AppliedApacheSoftwareLicens
         * @param copyrightOwner
         *            the copyright owner
         */
-       public AppliedApacheSoftwareLicense20(String copyrightOwner) {
+       public AppliedApacheSoftwareLicense20(final String copyrightOwner) {
                this();
                setCopyrightOwner(copyrightOwner);
        }
@@ -78,13 +78,13 @@ public class AppliedApacheSoftwareLicens
         * api.Document, java.lang.String)
         */
        @Override
-       public boolean match(Document subject, String s) {
+       public boolean match(final Document subject, final String text) {
                boolean result = false;
                if (isCopyrightMatch()) {
                        // will report the match if it has occurred
-                       return textMatcher.match(subject, s); 
+                       result = textMatcher.match(subject, text);
                } else {
-                       matchCopyright(s);
+                       matchCopyright(text);
                }
                return result;
        }


Reply via email to