You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by GitBox <gi...@apache.org> on 2020/10/27 09:45:18 UTC

[GitHub] [sling-org-apache-sling-feature-analyser] cziegeler commented on a change in pull request #26: Rework the analyser to report more context and improve the meta data …

cziegeler commented on a change in pull request #26:
URL: https://github.com/apache/sling-org-apache-sling-feature-analyser/pull/26#discussion_r512545425



##########
File path: src/main/java/org/apache/sling/feature/analyser/Analyser.java
##########
@@ -236,29 +244,80 @@ public BundleDescriptor getFrameworkDescriptor() {
 
                 @Override
                 public void reportWarning(final String message) {
-                    warnings.add(message);
+                    if (analyserMetaDataExtension != null && analyserMetaDataExtension.reportWarning(feature.getId())) {

Review comment:
       Why must analyserMetaDataExtension  be available to report anything?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org