[
https://issues.apache.org/jira/browse/JCR-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
angela resolved JCR-2177.
-------------------------
Resolution: Fixed
added
- shortcut to Node.getWeakReferences() and Node.getWeakReferences(String)
- testcase to jackrabbit-jcr-tests for both Node.getReferences and
Node.getWeakReferences for non-referenceable nodes.
NOTE: the javadoc of both methods doesn't state the expected behaviour if
called on a non-referenceable node. i ask for
clarification in the EG.
> Node.getWeakReferences throws UnsupportedOperationException if not
> referenceable
> --------------------------------------------------------------------------------
>
> Key: JCR-2177
> URL: https://issues.apache.org/jira/browse/JCR-2177
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core, JCR 2.0
> Affects Versions: 2.0-alpha1
> Reporter: angela
> Assignee: angela
> Fix For: 2.0.0
>
>
> .... while Node.getReferences() doesn't and returns an empty propertyiterator.
> From my point of view both methods should behave the same way and i prefer
> not throwing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.