jackrabbit-oak-dev mailing list archives

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

     [ 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

       

Mime
View raw message