Benedikt Ritter created LANG-921:
------------------------------------

             Summary: BooleanUtils.xor(boolean...) produced 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)

Reply via email to