You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2013/10/15 20:30:42 UTC

[jira] [Updated] (LANG-921) BooleanUtils.xor(boolean...) produces wrong results

     [ https://issues.apache.org/jira/browse/LANG-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benedikt Ritter updated LANG-921:
---------------------------------

    Summary: BooleanUtils.xor(boolean...) produces wrong results  (was: BooleanUtils.xor(boolean...) produced wrong results)

> 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)