Hi Stefan,

> On 24 Jul 2019, at 18:29, Stefan Seifert <[email protected]> wrote:
> 
> p.s. i think the annotation in [1] should be @ProviderType, not @ConsumerType 
> - but i think this can be changed in future releases without breaking 
> anything.
> [1] 
> https://github.com/apache/sling-org-apache-sling-contentparser-api/blob/master/src/main/java/org/apache/sling/contentparser/api/ParserHelper.java
>  
> <https://github.com/apache/sling-org-apache-sling-contentparser-api/blob/master/src/main/java/org/apache/sling/contentparser/api/ParserHelper.java>
The class is not supposed to be implemented, so IMO this is a Consumer, right? 
The ConsumerType is actually the default assumed by most OSGi plugins if I 
remember correctly, so annotating this final class with ConsumerType was just a 
pedantic move on my part.

Cheers,
Radu

Reply via email to