creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1484206 - /creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/license/OASISLicense.java
Date Sun, 19 May 2013 01:38:08 GMT
Author: sebb
Date: Sun May 19 01:38:08 2013
New Revision: 1484206

URL: http://svn.apache.org/r1484206
Log:
RAT-140 OASISLicense allows invalid Copyright line

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

Modified: creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/license/OASISLicense.java
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/license/OASISLicense.java?rev=1484206&r1=1484205&r2=1484206&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/license/OASISLicense.java
(original)
+++ creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/license/OASISLicense.java
Sun May 19 01:38:08 2013
@@ -30,7 +30,7 @@ import org.apache.rat.api.MetaData;
  */
 public class OASISLicense extends FullTextMatchingLicense {
 
-    private static final String COPYRIGHT_PATTERN_DEFN = ".*Copyright.*OASIS Open.*";
+    private static final String COPYRIGHT_PATTERN_DEFN = ".*Copyright\\s.*OASIS Open.*";
     private static final String CLAUSE_DEFN
     = "This document and translations of it may be copied and furnished to others and derivative
works" +
             "that comment on or otherwise explain it or assist in its implementation may
be prepared" +



Mime
View raw message