creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1465042 - /creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java
Date Fri, 05 Apr 2013 16:51:52 GMT
Author: sebb
Date: Fri Apr  5 16:51:52 2013
New Revision: 1465042

URL: http://svn.apache.org/r1465042
Log:
Suppress generic warning (calling non-generic library)

Modified:
    creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java

Modified: creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java?rev=1465042&r1=1465041&r2=1465042&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java
(original)
+++ creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java
Fri Apr  5 16:51:52 2013
@@ -252,7 +252,8 @@ public class RatReportMojo extends Abstr
      */
     private String getRatVersion()
     {
-        for ( Iterator<Artifact> iter = getProject().getDependencyArtifacts().iterator();
iter.hasNext(); )
+        for ( @SuppressWarnings("unchecked") // library is not yet generified
+        Iterator<Artifact> iter = getProject().getDependencyArtifacts().iterator();
iter.hasNext(); )
         {
             Artifact a = iter.next();
             if ( "rat-lib".equals( a.getArtifactId() ) )



Mime
View raw message