[
https://issues.apache.org/jira/browse/LANG-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benedikt Ritter resolved LANG-921.
----------------------------------
Resolution: Fixed
{code}
localhost:lang bene$ svn ci -m "LANG-921 - BooleanUtils.xor(boolean...)
produces wrong results"
Sending src/changes/changes.xml
Sending src/main/java/org/apache/commons/lang3/BooleanUtils.java
Sending src/test/java/org/apache/commons/lang3/BooleanUtilsTest.java
Transmitting file data ...
Committed revision 1532476.
{code}
> BooleanUtils.xor(boolean...) produces wrong results
> ---------------------------------------------------
>
> Key: LANG-921
> URL: https://issues.apache.org/jira/browse/LANG-921
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.*
> Affects Versions: 3.1
> Reporter: Benedikt Ritter
> Assignee: Benedikt Ritter
> Fix For: 3.2
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.1#6144)