You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2010/02/03 14:25:27 UTC
[jira] Created: (JCR-2485) Add method getID to interface ItemInfo
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
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.
[jira] Resolved: (JCR-2485) Add method getID to interface ItemInfo
Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
[ 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.