add @since tags for and/or methods

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147512 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Matthew Jason Benson 2011-07-17 01:43:57 +00:00
parent c808034989
commit b4a00f93bf
1 changed files with 4 additions and 0 deletions

View File

@ -884,6 +884,7 @@ public static String toString(boolean bool, String trueString, String falseStrin
* @return {@code true} if the and is successful.
* @throws IllegalArgumentException if {@code array} is {@code null}
* @throws IllegalArgumentException if {@code array} is empty.
* @since 3.0.1
*/
public static boolean and(boolean... array) {
// Validates input
@ -918,6 +919,7 @@ public static boolean and(boolean... array) {
* @throws IllegalArgumentException if {@code array} is {@code null}
* @throws IllegalArgumentException if {@code array} is empty.
* @throws IllegalArgumentException if {@code array} contains a {@code null}
* @since 3.0.1
*/
public static Boolean and(Boolean... array) {
if (array == null) {
@ -950,6 +952,7 @@ public static Boolean and(Boolean... array) {
* @return {@code true} if the or is successful.
* @throws IllegalArgumentException if {@code array} is {@code null}
* @throws IllegalArgumentException if {@code array} is empty.
* @since 3.0.1
*/
public static boolean or(boolean... array) {
// Validates input
@ -985,6 +988,7 @@ public static boolean or(boolean... array) {
* @throws IllegalArgumentException if {@code array} is {@code null}
* @throws IllegalArgumentException if {@code array} is empty.
* @throws IllegalArgumentException if {@code array} contains a {@code null}
* @since 3.0.1
*/
public static Boolean or(Boolean... array) {
if (array == null) {