You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/05/01 17:00:31 UTC
[jira] Resolved: (JCR-2094) Use an enumeration for QOM operators
[ 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.