You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/12/18 20:55:08 UTC
[jira] [Created] (OAK-1296) Use TypePredicate instead of
NodeType.isNodeType() for NodeState type checks
Jukka Zitting created OAK-1296:
----------------------------------
Summary: Use TypePredicate instead of NodeType.isNodeType() for NodeState type checks
Key: OAK-1296
URL: https://issues.apache.org/jira/browse/OAK-1296
Project: Jackrabbit Oak
Issue Type: Improvement
Components: core
Reporter: Jukka Zitting
The {{TypePredicate}} class is much more efficient at checking whether a {{NodeState}} is an instance of a given node type. Also, it's a bad practice to use JCR interfaces like NodeTypeManager below the Oak API.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)