creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1373093 - /creadur/whisker/trunk/apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/ResourceNamesCollator.java
Date Tue, 14 Aug 2012 20:58:50 GMT
Author: rdonkin
Date: Tue Aug 14 20:58:49 2012
New Revision: 1373093

URL: http://svn.apache.org/viewvc?rev=1373093&view=rev
Log:
Prevent warning for commented empty statement.

Modified:
    creadur/whisker/trunk/apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/ResourceNamesCollator.java

Modified: creadur/whisker/trunk/apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/ResourceNamesCollator.java
URL: http://svn.apache.org/viewvc/creadur/whisker/trunk/apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/ResourceNamesCollator.java?rev=1373093&r1=1373092&r2=1373093&view=diff
==============================================================================
--- creadur/whisker/trunk/apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/ResourceNamesCollator.java
(original)
+++ creadur/whisker/trunk/apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/ResourceNamesCollator.java
Tue Aug 14 20:58:49 2012
@@ -75,6 +75,7 @@ public class ResourceNamesCollator exten
      * @param resource not null
      */
     @Override
+    @SuppressWarnings("PMD.EmptyIfStmt")
     public void visit(final Resource resource) {
         if (this.resources.add(new ImmutablePair<WithinDirectory, Resource>(
                 this.lastDirectory, resource))) {



Mime
View raw message