commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (LANG-921) BooleanUtils.xor(boolean...) produces wrong results
Date Thu, 02 Jan 2014 16:21:00 GMT

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

Benedikt Ritter closed LANG-921.
--------------------------------


> 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.5#6160)

Mime
View raw message