cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Chainable SelectQuery
Date Mon, 17 Nov 2014 14:42:55 GMT
Cayenne Property class is using 'eq' for the same reason. 

> On Nov 17, 2014, at 5:07 PM, Mike Kienenberger <mkienenb@gmail.com> wrote:
> 
> Chainable fest testing assertions use "isEqualTo" to avoid confusion
> with "equals"
> 
> 
> On Mon, Nov 17, 2014 at 9:01 AM, Michael Gentry <mgentry@masslight.net> wrote:
>> On Sun, Nov 16, 2014 at 9:13 AM, Andrus Adamchik <andrus@objectstyle.org> wrote:
>>>> "eq" with "is",
>>> 
>>> I actually prefer "eq[uals]". Considering all other operations in the Property
class, "is" creates a bit of asymmetry IMO.
>> 
>> The problem with "equals" is it has other connotations in Java,
>> otherwise I'd like it just fine.  Of course, you could argue that "is"
>> also has other Java connotations (JavaBeans is* method naming
>> convention).
>> 
>> mrg
> 


Mime
View raw message