From ae2d73334a13a0d0a17321d06e16ebe80ede0c07 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Fri, 27 Oct 2006 23:35:50 +0000 Subject: [PATCH] Fixing method name 'addFailures' to match the others which are called 'addFailure' git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@468587 13f79535-47bb-0310-9956-ffa450edef68 --- .../reporting/DuplicateArtifactFileReportProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/DuplicateArtifactFileReportProcessor.java b/archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/DuplicateArtifactFileReportProcessor.java index 5364851c1..de12033d4 100644 --- a/archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/DuplicateArtifactFileReportProcessor.java +++ b/archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/DuplicateArtifactFileReportProcessor.java @@ -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 ); -- 2.39.5