From dev-return-23226-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Fri May 01 15:00:53 2009 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 84835 invoked from network); 1 May 2009 15:00:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 May 2009 15:00:53 -0000 Received: (qmail 51720 invoked by uid 500); 1 May 2009 15:00:52 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 51669 invoked by uid 500); 1 May 2009 15:00:52 -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 51661 invoked by uid 99); 1 May 2009 15:00:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 15:00:52 +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; Fri, 01 May 2009 15:00:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AC5C7234C051 for ; Fri, 1 May 2009 08:00:31 -0700 (PDT) Message-ID: <397649006.1241190031704.JavaMail.jira@brutus> Date: Fri, 1 May 2009 08:00:31 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-2094) Use an enumeration for QOM operators In-Reply-To: <1701341696.1241180730287.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting resolved JCR-2094. -------------------------------- Resolution: Fixed The enumeration now exists in o.a.j.spi.commons.query.qom.Operator. > Use an enumeration for QOM operators > ------------------------------------ > > Key: JCR-2094 > URL: https://issues.apache.org/jira/browse/JCR-2094 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core, jackrabbit-spi-commons, query > Reporter: Jukka Zitting > Assignee: Jukka Zitting > Priority: Minor > Fix For: 2.0.0 > > > The PFD version of QueryObjectModelConstants contains some incorrect constant values that make it unusable as a source of operator constants. > Since we are now using Java 5, I propose that instead of adding our own replacement constant strings, we implement a type-safe Operator enumeration that contains fixed versions of all the operator constants declared in QueryObjectModelConstants. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.