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] Created: (JCR-2485) Add method getID to interface ItemInfo
Date Wed, 03 Feb 2010 13:25:27 GMT
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.

View raw message