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



##########
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:
       @cziegeler, good catch! This was supposed to be the other way around - I 
fixed it. 




----------------------------------------------------------------
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:
[email protected]


Reply via email to