jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (Assigned) (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (OAK-8) Make return types of NodeState#getProperties() and NodeState#getChildNodeEntries() covariant
Date Sun, 11 Mar 2012 16:12:00 GMT

     [ https://issues.apache.org/jira/browse/OAK-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Dürig reassigned OAK-8:
-------------------------------

    Assignee: Michael Dürig
    
> Make return types of NodeState#getProperties() and NodeState#getChildNodeEntries() covariant
> --------------------------------------------------------------------------------------------
>
>                 Key: OAK-8
>                 URL: https://issues.apache.org/jira/browse/OAK-8
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 0.1
>
>         Attachments: OAK-8.patch
>
>
> The current invariant return types do not allow for example for
> {code}
> @Override
> public Iterable<PropertyState> getProperties() {
>     return new ArrayList<PropertyStateImpl>();
> }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message