protected int compareStaticOperands ( QueryContext context , Comparison comparison1 , Comparison comparison2 ) { Object value1 = getValue ( context , comparison1 . getOperand2 ( ) ) ; Object value2 = getValue ( context , comparison2 . getOperand2 ( ) ) ; return ValueComparators . OBJECT_COMPARATOR . compare ( value1 , value2 ) ; }
Compare the values used in the two comparisons