> That being said, technically even with the bug, this will compile.
That won't even compile in Java, unless input is of type Boolean. But if
it is of type boolean input.size() won't compile!
(But yeah, I have spent hours debugging a bug introduced by such a typo
in C++ code)
> On Mon, Aug 22, 2011 at 6:40 AM, Jonathan Coveney<[EMAIL PROTECTED]>wrote:
>> It should be: input == null || input.size() == 0
>> In java, = means variable assignment, whereas == is equality.