incubator-rat-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joc...@apache.org
Subject svn commit: r735348 - in /incubator/rat/main/trunk/rat-maven-plugin/src: changes/changes.xml main/java/org/codehaus/mojo/rat/RatCheckMojo.java
Date Sat, 17 Jan 2009 22:42:30 GMT
Author: jochen
Date: Sat Jan 17 14:42:29 2009
New Revision: 735348

URL: http://svn.apache.org/viewvc?rev=735348&view=rev
Log:
PR: RAT-35
Submitted-By: Jukka Zitting, jukka@apache.org
Incorrect number of unapproved licenses reported by rat:check

Modified:
    incubator/rat/main/trunk/rat-maven-plugin/src/changes/changes.xml
    incubator/rat/main/trunk/rat-maven-plugin/src/main/java/org/codehaus/mojo/rat/RatCheckMojo.java

Modified: incubator/rat/main/trunk/rat-maven-plugin/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat-maven-plugin/src/changes/changes.xml?rev=735348&r1=735347&r2=735348&view=diff
==============================================================================
--- incubator/rat/main/trunk/rat-maven-plugin/src/changes/changes.xml (original)
+++ incubator/rat/main/trunk/rat-maven-plugin/src/changes/changes.xml Sat Jan 17 14:42:29
2009
@@ -25,6 +25,10 @@
         the dependencies are guaranteed to be present, if the mojo is
         invoked from the command line.
       </action>
+      <action dev="jochen" type="fix" issue="RAT-35"
+          due-to="Jukka Zitting" due-to-email="jukka@apache.org">
+        Incorrect number of unapproved licenses reported by rat:check
+      </action>
     </release>
     <release version="1.0-alpha-3" date="2007-Aug-28">
       <action dev="jochen" type="fix">

Modified: incubator/rat/main/trunk/rat-maven-plugin/src/main/java/org/codehaus/mojo/rat/RatCheckMojo.java
URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat-maven-plugin/src/main/java/org/codehaus/mojo/rat/RatCheckMojo.java?rev=735348&r1=735347&r2=735348&view=diff
==============================================================================
--- incubator/rat/main/trunk/rat-maven-plugin/src/main/java/org/codehaus/mojo/rat/RatCheckMojo.java
(original)
+++ incubator/rat/main/trunk/rat-maven-plugin/src/main/java/org/codehaus/mojo/rat/RatCheckMojo.java
Sat Jan 17 14:42:29 2009
@@ -221,7 +221,7 @@
     {
         if ( numUnapprovedLicenses < statistics.getNumUnapprovedLicenses() )
         {
-            throw new RatCheckException( "Too many unapproved licenses: " + statistics.getNumApprovedLicenses()
);
+            throw new RatCheckException( "Too many unapproved licenses: " + statistics.getNumUnapprovedLicenses()
);
         }
     }
 }



Mime
View raw message