creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1484217 - /creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/license/CopyrightHeader.java
Date Sun, 19 May 2013 02:52:41 GMT
Author: sebb
Date: Sun May 19 02:52:41 2013
New Revision: 1484217

URL: http://svn.apache.org/r1484217
Log:
Methods called by ctors must not be overridden

Modified:
    creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/license/CopyrightHeader.java

Modified: creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/license/CopyrightHeader.java
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/license/CopyrightHeader.java?rev=1484217&r1=1484216&r2=1484217&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/license/CopyrightHeader.java
(original)
+++ creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/license/CopyrightHeader.java
Sun May 19 02:52:41 2013
@@ -64,7 +64,8 @@ public class CopyrightHeader extends Bas
         setCopyrightOwner(copyrightOwner);
     }
 
-    public void setCopyrightOwner(String copyrightOwner) {
+    // Called by ctor, so must not be overridden
+    public final void setCopyrightOwner(String copyrightOwner) {
         this.copyrightOwner = copyrightOwner;
         this.copyrightPattern = Pattern.compile(COPYRIGHT_PREFIX_PATTERN_DEFN+copyrightOwner+".*",
Pattern.CASE_INSENSITIVE);
     }



Mime
View raw message