mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-08 19:14:52 +00:00
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:
parent
c808034989
commit
b4a00f93bf
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user