diff --git a/src/main/java/org/apache/commons/lang3/BooleanUtils.java b/src/main/java/org/apache/commons/lang3/BooleanUtils.java index c08e5c9c1..d16c11374 100644 --- a/src/main/java/org/apache/commons/lang3/BooleanUtils.java +++ b/src/main/java/org/apache/commons/lang3/BooleanUtils.java @@ -969,7 +969,7 @@ public class BooleanUtils { } return false; } - + /** *

Performs an or on an array of Booleans.

* @@ -1004,7 +1004,7 @@ public class BooleanUtils { throw new IllegalArgumentException("The array must not contain any null elements"); } } - + /** *

Performs an xor on a set of booleans.

* @@ -1030,7 +1030,7 @@ public class BooleanUtils { if (array.length == 0) { throw new IllegalArgumentException("Array is empty"); } - + // Loops through array, comparing each item int trueCount = 0; for (boolean element : array) { @@ -1044,11 +1044,11 @@ public class BooleanUtils { } } } - + // Returns true if there was exactly 1 true item return trueCount == 1; } - + /** *

Performs an xor on an array of Booleans.

* @@ -1078,5 +1078,5 @@ public class BooleanUtils { throw new IllegalArgumentException("The array must not contain any null elements"); } } - + }