jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (Created) (JIRA) <j...@apache.org>
Subject [jira] [Created] (OAK-8) Make return types of NodeState#getProperties() and NodeState#getChildNodeEntries() covariant
Date Sun, 11 Mar 2012 14:57:58 GMT
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
         Environment: The current invariant return types do not allow for example for

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

            Reporter: Michael Dürig
             Fix For: 0.1


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


--
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