Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 67618 invoked from network); 22 Dec 2004 15:40:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Dec 2004 15:40:10 -0000 Received: (qmail 81468 invoked by uid 500); 22 Dec 2004 15:40:08 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 81454 invoked by uid 99); 22 Dec 2004 15:40:08 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 22 Dec 2004 07:40:05 -0800 Received: (qmail 12991 invoked from network); 22 Dec 2004 15:40:03 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 22 Dec 2004 15:40:03 -0000 Message-ID: <1706596968.1103730003731.JavaMail.apache@nagoya> Date: Wed, 22 Dec 2004 07:40:03 -0800 (PST) From: "Felix Meschberger (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Created: (JCR-35) NodeTypeDefDiff compares to restrictive Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N NodeTypeDefDiff compares to restrictive --------------------------------------- Key: JCR-35 URL: http://nagoya.apache.org/jira/browse/JCR-35 Project: Jackrabbit Type: Bug Environment: Jackrabbit SVN Rev. 122969 Reporter: Felix Meschberger The NodeTypeDefDiff class is used to compare NodeTypeDef instances. Unfortunately this class reports two NodeTypeDef instances which are not equal but have no structural difference as having trivial changes. The correct result would be to have no modification at all. I suggest to modify the NodeTypeDefDiff.init() method such, that the initial type is "NONE" instead of "TRIVIAL" and to first compare the "hasOrderableChildNodes" first and raise the level to "TRIVIAL" if not equal. Next the rest of the current comparisons would follow. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira