aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <>
Subject [jira] [Resolved] (ARIES-1303) Return type for public API getRespository() is not exported
Date Fri, 10 Jul 2015 13:36:04 GMT


Guillaume Nodet resolved ARIES-1303.
       Resolution: Fixed
    Fix Version/s: blueprint-core-1.4.4

> 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
>             Fix For: blueprint-core-1.4.4
> 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