Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 61505 invoked from network); 6 Feb 2009 10:34:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2009 10:34:22 -0000 Received: (qmail 23122 invoked by uid 500); 6 Feb 2009 10:34:20 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 23092 invoked by uid 500); 6 Feb 2009 10:34:20 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 23074 invoked by uid 99); 6 Feb 2009 10:34:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 02:34:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 10:34:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 943CF234C4A8 for ; Fri, 6 Feb 2009 02:33:59 -0800 (PST) Message-ID: <149544040.1233916439606.JavaMail.jira@brutus> Date: Fri, 6 Feb 2009 02:33:59 -0800 (PST) From: "angela (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1966) [PATCH] Remove Stutter in NodeState In-Reply-To: <1339437006.1233807479564.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated JCR-1966: ------------------------ Priority: Trivial (was: Major) > [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 > Reporter: Dave Brosius > Priority: Trivial > Fix For: 1.6.0 > > 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.