I think Osvaldo Pinali Doederlein wrote:
>
> Hi Ernest,
>
> Big thanks!! I just got this release and updated my code, and it's working
> fine here!
>
> I appreciate a lot the much better and cleaner Java interface. I had to
> change my code, but it's now simpler and more elegant.
>
> The new duplicate flag is great. My code is now running faster than before
> (you remember - doing massive assertion batches), without need of hacking
> extensions into Jess.
That's terrific. I'm glad you appreciate the changes.
> But I noticed a minor problem: your accessors for
> boolean properties are all using getXXX() names, like getFactDuplication();
> the JavaBeans standard naming makes an exception for boolean so you should
> use 'is' instead of all those 'get'.
Language lawyer wars, hmm? :)
The spec (section 8.3.2) actually says that the isX() version is
an allowed variation, not a requirement. My feeling is that isX() is
good for some booleans, and getX() good for others. isVisible() is a
great example of where isX() works - a Component is visible, or
not. getFactDuplication() makes more sense than any variation I can
think of using 'is' - isFactDuplication() doesn't sound right or make
as much sense.
Note that Jess handles isX() accessors when they appear in other Beans.
>
> A+
> Osvaldo
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9214 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------