On Wed, 24 Aug 2011 10:52:29 -0300, Denis Stepanov <[email protected]> wrote:

As I wrote before, "!" doesn't do what I want, object needs to be converted to a boolean first:

- null is converted to false
- unknown not null is converted to a string by calling toString metod and then string is converted to a boolean

What's the code that does that? Wouldn't it be better to just change it so the ! operator works without using toString()?

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to