]> source.dussan.org Git - archiva.git/commitdiff
Fixing method name 'addFailures' to match the others which are called 'addFailure'
authorHenri Yandell <bayard@apache.org>
Fri, 27 Oct 2006 23:35:50 +0000 (23:35 +0000)
committerHenri Yandell <bayard@apache.org>
Fri, 27 Oct 2006 23:35:50 +0000 (23:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@468587 13f79535-47bb-0310-9956-ffa450edef68

archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/DuplicateArtifactFileReportProcessor.java

index 5364851c172e2857a389ca11deeff59395e4a39a..de12033d4e91321a1245a712bf46d0b80caa68b6 100644 (file)
@@ -98,7 +98,7 @@ public class DuplicateArtifactFileReportProcessor
                                 String groupId = artifact.getGroupId();
                                 if ( groupId.equals( result.getGroupId() ) )
                                 {
-                                    addFailures( reporter, artifact, "duplicate",
+                                    addFailure( reporter, artifact, "duplicate",
                                                  "Found duplicate for " + artifact.getId() );
                                 }
                             }
@@ -117,7 +117,7 @@ public class DuplicateArtifactFileReportProcessor
         }
     }
 
-    private static void addFailures( ReportingDatabase reporter, Artifact artifact, String problem, String reason )
+    private static void addFailure( ReportingDatabase reporter, Artifact artifact, String problem, String reason )
     {
         // TODO: reason could be an i18n key derived from the processor and the problem ID and the
         reporter.addFailure( artifact, ROLE_HINT, problem, reason );