jcr: utils (MAGNOLIA-4295)

[MAGNOLIA-4328] Use javax.jcr.Item#isNode() instead of instanceof Node/Property Created: 27/May/11  Updated: 22/Mar/12  Resolved: 27/May/11

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 4.5

Type: Sub-task Priority: Neutral
Reporter: Daniel Lipp Assignee: Daniel Lipp
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:

 Description   

isNode() will return true on Nodes and false on Properties - no need to use instanceof here. In addition - there's no other cases so isNode() == false guarantees we have a Property.


Generated at Mon Feb 12 03:54:44 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.