git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533914 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2013-10-20 14:32:07 +00:00
parent 6b3993188e
commit 8433dc4f9f
1 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ public static boolean isNotFalse(final Boolean bool) {
* </pre>
*
* @param array an array of {@code boolean}s
* @return {@code true} if the array containes the value true only once.
* @return {@code true} if the array contains the value true only once.
* @throws IllegalArgumentException if {@code array} is {@code null}
* @throws IllegalArgumentException if {@code array} is empty.
* @since 3.2
@ -196,7 +196,7 @@ public static boolean isExactlyOneTrue(final boolean... array) {
* </pre>
*
* @param array an array of {@code Boolean}s
* @return {@code true} if the array containes a Boolean with value true only once.
* @return {@code true} if the array contains a Boolean with value true only once.
* @throws IllegalArgumentException if {@code array} is {@code null}
* @throws IllegalArgumentException if {@code array} is empty.
* @throws IllegalArgumentException if {@code array} contains a {@code null}