Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 57653 invoked from network); 5 Apr 2007 12:08:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2007 12:08:57 -0000 Received: (qmail 88629 invoked by uid 500); 5 Apr 2007 12:09:01 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 88587 invoked by uid 500); 5 Apr 2007 12:09:01 -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 88543 invoked by uid 99); 5 Apr 2007 12:09:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 05:09:01 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 05:08:53 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 708D071406D for ; Thu, 5 Apr 2007 05:08:33 -0700 (PDT) Message-ID: <14265382.1175774913458.JavaMail.jira@brutus> Date: Thu, 5 Apr 2007 05:08:33 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-782) TCK: LockTest.testGetLock compares Nodes with equals In-Reply-To: <2500282.1173440064474.JavaMail.root@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-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-782: ------------------------------ Fix Version/s: 1.3 Affects Version/s: 1.0 1.0.1 1.1 1.1.1 1.2.1 1.2.2 1.2.3 > TCK: LockTest.testGetLock compares Nodes with equals > ---------------------------------------------------- > > Key: JCR-782 > URL: https://issues.apache.org/jira/browse/JCR-782 > Project: Jackrabbit > Issue Type: Bug > Components: JCR TCK > Affects Versions: 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3 > Reporter: angela > Priority: Trivial > Fix For: 1.3 > > > i think comparison by 'isSame' would be better. > -> line 545 > - assertTrue("lock holding node must be parent", lock.getNode().equals(n1)); > + assertTrue("lock holding node must be parent", lock.getNode().isSame(n1)); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.