Description
BooleanUtils.xor(true, true, false, true) returns false, although
true ^ true ^ false ^ true is true. This is because the implementation only checks the count of true in the provided array.
Attachments
Issue Links
- relates to
-
LANG-922 Add isOneTrue(booleans...) to BooleanUtils to preserve old behavior of BooleanUtils.xor(booleans...)
- Closed