I am in favor of applying your PR. It simplifies the code and I fail to see any 
regressions/drawbacks.
Konrad

> Am 11.06.2018 um 18:13 schrieb Christian Schneider <[email protected]>:
> 
> Some time ago I proposed a change in sling-commons-mime to use declarative
> services instead of BundleActivator for registering the mime types.
> 
> See:
> https://issues.apache.org/jira/browse/SLING-7612
> 
> The code simplifies the setup quite a bit as the service creation and
> destruction is done by DS and the properties are derived from the
> annotations.
> 
> Bertrand was a bit worried about changed timings as this is a low level
> bundle and so with DS involved services might come up a bit later as before.
> 
> What do you think?
> 
> Christian
> 
> -- 
> -- 
> Christian Schneider
> http://www.liquid-reality.de
> 
> Computer Scientist
> http://www.adobe.com

Reply via email to