jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-491) NodeType#isNodeType: wrong comparision of jcr names
Date Wed, 05 Dec 2012 11:12:58 GMT

     [ 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

Mime
View raw message