jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] Resolved: (JCR-2485) Add method getID to interface ItemInfo
Date Wed, 03 Feb 2010 13:27:27 GMT

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

Michael Dürig resolved JCR-2485.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0

Fixed at revision 906037

> Add method getID to interface ItemInfo
> --------------------------------------
>
>                 Key: JCR-2485
>                 URL: https://issues.apache.org/jira/browse/JCR-2485
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-spi
>    Affects Versions: 2.1.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 2.1.0
>
>
> ItemInfo is the base for NodeInfo and PropertyInfo both of which declare a method getId
with return type NodeId and PropertyId, respectively. With Java 1.5. it is now possible to
override a method with a covariant return type. I thus propose to introduce a method getId
on ItemInfo with return type ItemId which is the common base type of NodeId and PropertyId.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message