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.

Reply via email to