From acb89828f156388a39c1a3e2ce0c856a74264be3 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Thu, 27 Sep 2012 15:02:09 +0000 Subject: [PATCH] Javadoc typos git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391048 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/lang3/Validate.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/Validate.java b/src/main/java/org/apache/commons/lang3/Validate.java index 49e01f72e..e479e0266 100644 --- a/src/main/java/org/apache/commons/lang3/Validate.java +++ b/src/main/java/org/apache/commons/lang3/Validate.java @@ -889,7 +889,7 @@ public static void matchesPattern(CharSequence input, String pattern, String mes * @param start the inclusive start value, not null * @param end the inclusive end value, not null * @param value the object to validate, not null - * @throws IllegalArgumentException if the value falls out of the boundaries + * @throws IllegalArgumentException if the value falls outside the boundaries * @see #inclusiveBetween(Object, Object, Comparable, String, Object...) * * @since 3.0 @@ -914,7 +914,7 @@ public static void inclusiveBetween(T start, T end, Comparable value) { * @param value the object to validate, not null * @param message the {@link String#format(String, Object...)} exception message if invalid, not null * @param values the optional values for the formatted exception message, null array not recommended - * @throws IllegalArgumentException if the value falls out of the boundaries + * @throws IllegalArgumentException if the value falls outside the boundaries * @see #inclusiveBetween(Object, Object, Comparable) * * @since 3.0 @@ -933,13 +933,13 @@ public static void inclusiveBetween(T start, T end, Comparable value, Str *

Validate that the specified argument object fall between the two * exclusive values specified; otherwise, throws an exception.

* - *
Validate.inclusiveBetween(0, 2, 1);
+ *
Validate.exclusiveBetween(0, 2, 1);
* * @param the type of the argument object * @param start the exclusive start value, not null * @param end the exclusive end value, not null * @param value the object to validate, not null - * @throws IllegalArgumentException if the value falls out of the boundaries + * @throws IllegalArgumentException if the value falls outside the boundaries * @see #exclusiveBetween(Object, Object, Comparable, String, Object...) * * @since 3.0 @@ -956,7 +956,7 @@ public static void exclusiveBetween(T start, T end, Comparable value) { * exclusive values specified; otherwise, throws an exception with the * specified message.

* - *
Validate.inclusiveBetween(0, 2, 1, "Not in boundaries");
+ *
Validate.exclusiveBetween(0, 2, 1, "Not in boundaries");
* * @param the type of the argument object * @param start the exclusive start value, not null @@ -964,7 +964,7 @@ public static void exclusiveBetween(T start, T end, Comparable value) { * @param value the object to validate, not null * @param message the {@link String#format(String, Object...)} exception message if invalid, not null * @param values the optional values for the formatted exception message, null array not recommended - * @throws IllegalArgumentException if the value falls out of the boundaries + * @throws IllegalArgumentException if the value falls outside the boundaries * @see #exclusiveBetween(Object, Object, Comparable) * * @since 3.0