jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] Resolved: (JCR-1966) [PATCH] Remove Stutter in NodeState
Date Mon, 20 Apr 2009 14:29:48 GMT

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

Michael Dürig resolved JCR-1966.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.6.0)
                   1.5.5

Fixed at revision 766707

> [PATCH] Remove Stutter in NodeState
> -----------------------------------
>
>                 Key: JCR-1966
>                 URL: https://issues.apache.org/jira/browse/JCR-1966
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi
>    Affects Versions: 1.5.0
>            Reporter: Dave Brosius
>            Assignee: Michael Dürig
>            Priority: Trivial
>             Fix For: 1.5.5
>
>         Attachments: remove_stutter.diff
>
>
> Code duplicates code for no reason
> Index: src/main/java/org/apache/jackrabbit/jcr2spi/state/NodeState.java
> ===================================================================
> --- src/main/java/org/apache/jackrabbit/jcr2spi/state/NodeState.java	(revision 740824)
> +++ src/main/java/org/apache/jackrabbit/jcr2spi/state/NodeState.java	(working copy)
> @@ -449,7 +449,7 @@
>               */
>              NodeState parent = getParent();
>              NodeId wspId = (NodeId) getWorkspaceId();
> -            def = definitionProvider.getQNodeDefinition(getParent().getNodeTypeNames(),
getName(), getNodeTypeName(), wspId);
> +            def = definitionProvider.getQNodeDefinition(parent.getNodeTypeNames(), getName(),
getNodeTypeName(), wspId);
>          }
>          return def;
>      }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message