jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-2094) Use an enumeration for QOM operators
Date Fri, 01 May 2009 15:00:31 GMT

     [ 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.

View raw message