[ https://issues.apache.org/jira/browse/JCR-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger resolved JCR-2186. ----------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 Implemented in revision: 791255 > Unnecessary hasItemState() call in SessionItemStateManager > ---------------------------------------------------------- > > Key: JCR-2186 > URL: https://issues.apache.org/jira/browse/JCR-2186 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Reporter: Marcel Reutegger > Priority: Minor > Fix For: 2.0.0 > > > At the end of SessionItemStateManager.getItemState(ItemId) the underlying > item state manager is first asked whether it contains the item and then it is > retrieved. In case the item state manager does not know the item a > NoSuchItemStateException is thrown. > The initial check is unnecessary because getItemState() on the underlying > manager will also throw the exception if the item does not exist. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.