aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Hughes (JIRA)" <>
Subject [jira] [Assigned] (ARIES-1303) Return type for public API getRespository() is not exported
Date Fri, 27 Mar 2015 12:13:52 GMT


Jeremy Hughes reassigned ARIES-1303:

    Assignee: Jeremy Hughes

> Return type for public API getRespository() is not exported
> -----------------------------------------------------------
>                 Key: ARIES-1303
>                 URL:
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: blueprint-core-1.3.0
>            Reporter: Tim Baldwin
>            Assignee: Jeremy Hughes
>            Priority: Minor
> The interface class ""
in the blueprint-core component is a public interface that contains a deprecated internal
API method:
>     /**
>      * To be removed as internal API
>      */
>     @Deprecated
>     Repository getRepository();
> Because this is a public API interface this method is part of a public exported package
and is visible to applications, however the return type for the method "org.apache.aries.blueprint.di.Repository"
is an internal class and is not exported.
> This can cause issues with tooling that performs checking that all public methods, parameters
and return types form a consistent set.
> Ideally this deprecated method should be removed from the public interface (I don't believe
it can actually be used by anyone as the return type is not accessible), but as it is used
internally it would need moving to some other internal only interface (along with all resulting
> Alternatively, while the deprecated method remains visible, the return type should be
publicly exported too. 

This message was sent by Atlassian JIRA

View raw message