You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2021/05/04 11:07:16 UTC
[sling-org-apache-sling-feature-analyser] branch master updated:
SLING-10348 : Number of errors and warnigs not logged correctly
This is an automated email from the ASF dual-hosted git repository.
cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-analyser.git
The following commit(s) were added to refs/heads/master by this push:
new 1d96fe1 SLING-10348 : Number of errors and warnigs not logged correctly
1d96fe1 is described below
commit 1d96fe14c234cbe0c15f0a9d24997b6e0dca684c
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Tue May 4 13:06:56 2021 +0200
SLING-10348 : Number of errors and warnigs not logged correctly
---
src/main/java/org/apache/sling/feature/analyser/Analyser.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/sling/feature/analyser/Analyser.java b/src/main/java/org/apache/sling/feature/analyser/Analyser.java
index 262c540..2ba1a19 100644
--- a/src/main/java/org/apache/sling/feature/analyser/Analyser.java
+++ b/src/main/java/org/apache/sling/feature/analyser/Analyser.java
@@ -311,8 +311,8 @@ public class Analyser {
});
}
- int allWarnings = globalWarnings.size() + artifactWarnings.size() + extensionWarnings.size();
- int allErrors = globalErrors.size() + artifactErrors.size() + extensionErrors.size();
+ int allWarnings = globalWarnings.size() + artifactWarnings.size() + extensionWarnings.size() + configurationWarnings.size();
+ int allErrors = globalErrors.size() + artifactErrors.size() + extensionErrors.size() + configurationErrors.size();
logger.info("Analyzing feature '" + feature.getId() + "' finished : "
+ allWarnings + " warnings, "
+ allErrors + " errors.");