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 "angela (JIRA)" <ji...@apache.org> on 2012/12/05 12:12:58 UTC

[jira] [Resolved] (OAK-491) NodeType#isNodeType: wrong comparision of jcr names

     [ https://issues.apache.org/jira/browse/OAK-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved OAK-491.
------------------------

    Resolution: Fixed
    
> NodeType#isNodeType: wrong comparision of jcr names
> ---------------------------------------------------
>
>                 Key: OAK-491
>                 URL: https://issues.apache.org/jira/browse/OAK-491
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: angela
>
> the current implementation of NodeType#isNodeType uses equals to
> compare the jcr name of the node type to the jcr name passed to the
> method... but the latter might be in the expanded form -> comparision
> with equals doesn't work.
> suggested fix: compare oak names.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira