You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Michael Dürig (Updated JIRA)" <ji...@apache.org> on 2012/03/11 15:58:00 UTC

[jira] [Updated] (OAK-8) Make return types of NodeState#getProperties() and NodeState#getChildNodeEntries() covariant

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

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

    Description: 
The current invariant return types do not allow for example for

{code}
@Override
public Iterable<PropertyState> getProperties() {
    return new ArrayList<PropertyStateImpl>();
}
{code}


  was:Make return types of NodeState#getProperties() and NodeState#getChildNodeEntries() covariant. 

    Environment:     (was: The current invariant return types do not allow for example for

{code}
@Override
public Iterable<PropertyState> getProperties() {
    return new ArrayList<PropertyStateImpl>();
}
{code}
)
    
> 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
>             Fix For: 0.1
>
>
> 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