From dev-return-22829-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Apr 20 14:24:11 2009 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 18405 invoked from network); 20 Apr 2009 14:24:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Apr 2009 14:24:11 -0000 Received: (qmail 75850 invoked by uid 500); 20 Apr 2009 14:24:10 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 75799 invoked by uid 500); 20 Apr 2009 14:24:10 -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 75787 invoked by uid 99); 20 Apr 2009 14:24:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Apr 2009 14:24:10 +0000 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; Mon, 20 Apr 2009 14:24:09 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E4F17234C055 for ; Mon, 20 Apr 2009 07:23:47 -0700 (PDT) Message-ID: <1600248768.1240237427936.JavaMail.jira@brutus> Date: Mon, 20 Apr 2009 07:23:47 -0700 (PDT) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= 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: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1966?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Michael D=C3=BCrig updated JCR-1966: ------------------------------- Affects Version/s: 1.5.0 > [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=C3=BCrig > 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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- src/main/java/org/apache/jackrabbit/jcr2spi/state/NodeState.java=09(r= evision 740824) > +++ src/main/java/org/apache/jackrabbit/jcr2spi/state/NodeState.java=09(w= orking copy) > @@ -449,7 +449,7 @@ > */ > NodeState parent =3D getParent(); > NodeId wspId =3D (NodeId) getWorkspaceId(); > - def =3D definitionProvider.getQNodeDefinition(getParent().ge= tNodeTypeNames(), getName(), getNodeTypeName(), wspId); > + def =3D definitionProvider.getQNodeDefinition(parent.getNode= TypeNames(), getName(), getNodeTypeName(), wspId); > } > return def; > } --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.