uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: [jira] Closed: (UIMA-210) faulty use of .read(buffer...) in several places - not checking for fewer than expected bytes/chars read
Date Mon, 12 Feb 2007 18:58:20 GMT
Thilo Goetz wrote:
> Marshall Schor (JIRA) wrote:
> <snip>
>> One other point - I've grown fond of coding tests against null as 
>> "null == otherObject" rather than  the more "natural" "otherObject == 
>> null" because if I accidently write "=" instead of "==" it gives me a 
>> compile error :-).
>
> if (otherObject = null)... will raise a compiler error, so no reason 
> to shun the natural order of things.
>

Good point - Thanks! -Marshall

Mime
View raw message