On Thu, 23 Sep 2021 04:26:07 GMT, Chris Plummer <[email protected]> wrote:
>> I look at it this way, the code should really (IMHO) have been written as:
>>
>> int res = sval1.compareTo(sval2);
>> switch(relOp) {
>> case Query.GT: return res > 0;
>> case ...
>> }
>>
>> and so the use of equals() instead would never have arisen. :)
>
> Yep, that works for me.
Ok. Done.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5640
