commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Caswell <steven.casw...@gmail.com>
Subject [lang] Adjustment to BitField
Date Mon, 04 Jul 2005 21:32:12 GMT
While looking at the coverage of test cases, I noticed the following 
in the BitField class:

If I create a BitField with a mask of 0, then invoke isAllSet(0), the
return value is true, instead of false as I expected. Is there any
particular reason the method should behave this way, or should it
indeed return false?

TIA
-- 
Steven Caswell
steven.caswell@gmail.com

Take back the web - http://www.mozilla.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