[
https://issues.apache.org/jira/browse/SLING-5139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu resolved SLING-5139.
------------------------------------
Resolution: Fixed
> Better return type for PluginLoggerRegistrar
> --------------------------------------------
>
> Key: SLING-5139
> URL: https://issues.apache.org/jira/browse/SLING-5139
> Project: Sling
> Issue Type: Improvement
> Components: IDE
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Priority: Minor
> Fix For: Sling Eclipse IDE 1.1.0
>
>
> The PluginLoggerRegistrar currently returns a ServiceReference<?> since the
> Tracer is registered for multiple interfaces. This forces clients to downcast
> the reference themselves.
> Instead, we should return a ServiceReference<Logger>, since none of the
> clients are interested that the Tracer also implements DebugOptionsListener.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)