[
https://issues.apache.org/jira/browse/SLING-5139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14954833#comment-14954833
]
Robert Munteanu commented on SLING-5139:
----------------------------------------
Fixed in [r1708362|https://svn.apache.org/r1708362]
> 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)