https://issues.apache.org/bugzilla/show_bug.cgi?id=51960

--- Comment #2 from Konstantin Kolinko <knst.koli...@gmail.com> 2011-10-05 
14:56:19 UTC ---
(In reply to comment #1)
> That means that & and && are equivalent

They are not equivalent. The difference is that "&&" returns result immediately
of its left operand is false. The "&" operator always evaluates both operands.

I think that in this place using "&" might be justified. Cannot say for sure
without real use case / tests. If it is, I would like to see a comment about it
there.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to