commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory" <ggreg...@seagullsoftware.com>
Subject RE: [lang] isNotXxx(..) { return ! is Xxx(...); }
Date Thu, 17 Nov 2005 21:26:59 GMT
I agree; this is a case where we need to eat our own dog food.

I can imagine that some people might cry foul in terms of performance
but I am still in favor of re-use.

Gary

> -----Original Message-----
> From: Henri Yandell [mailto:flamefew@gmail.com]
> Sent: Thursday, November 17, 2005 1:07 PM
> To: Jakarta Commons Developers List
> Subject: [lang] isNotXxx(..) { return ! is Xxx(...); }
> 
> Any reason why our isNot methods don't just return the negative of the
> is method?
> 
> Someone pointed StringUtils.isEmpty/isNotEmpty out to me, and it does
> seem simpler to have them be related.
> 
> Hen
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message