Repository: commons-lang Updated Branches: refs/heads/master 6ea2fc8d3 -> be3638eb4
Fix javadoc typos Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/be3638eb Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/be3638eb Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/be3638eb Branch: refs/heads/master Commit: be3638eb477a8635f647c9a4fefdce7ca2e2408a Parents: 6ea2fc8 Author: Bruno P. Kinoshita <ki...@apache.org> Authored: Sun Oct 22 01:12:41 2017 +1300 Committer: Bruno P. Kinoshita <ki...@apache.org> Committed: Sun Oct 22 01:12:41 2017 +1300 ---------------------------------------------------------------------- src/main/java/org/apache/commons/lang3/CharUtils.java | 8 ++++---- .../java/org/apache/commons/lang3/StringUtils.java | 14 +++++++------- .../java/org/apache/commons/lang3/ThreadUtils.java | 4 ++-- .../apache/commons/lang3/builder/EqualsExclude.java | 2 +- .../apache/commons/lang3/builder/HashCodeExclude.java | 2 +- .../apache/commons/lang3/builder/ToStringBuilder.java | 2 +- .../apache/commons/lang3/builder/ToStringExclude.java | 2 +- .../org/apache/commons/lang3/text/StrTokenizer.java | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/be3638eb/src/main/java/org/apache/commons/lang3/CharUtils.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/lang3/CharUtils.java b/src/main/java/org/apache/commons/lang3/CharUtils.java index 219dea2..c228968 100644 --- a/src/main/java/org/apache/commons/lang3/CharUtils.java +++ b/src/main/java/org/apache/commons/lang3/CharUtils.java @@ -206,7 +206,7 @@ public class CharUtils { * <p>Converts the character to the Integer it represents, throwing an * exception if the character is not numeric.</p> * - * <p>This method coverts the char '1' to the int 1 and so on.</p> + * <p>This method converts the char '1' to the int 1 and so on.</p> * * <pre> * CharUtils.toIntValue('3') = 3 @@ -228,7 +228,7 @@ public class CharUtils { * <p>Converts the character to the Integer it represents, throwing an * exception if the character is not numeric.</p> * - * <p>This method coverts the char '1' to the int 1 and so on.</p> + * <p>This method converts the char '1' to the int 1 and so on.</p> * * <pre> * CharUtils.toIntValue('3', -1) = 3 @@ -250,7 +250,7 @@ public class CharUtils { * <p>Converts the character to the Integer it represents, throwing an * exception if the character is not numeric.</p> * - * <p>This method coverts the char '1' to the int 1 and so on.</p> + * <p>This method converts the char '1' to the int 1 and so on.</p> * * <pre> * CharUtils.toIntValue('3') = 3 @@ -271,7 +271,7 @@ public class CharUtils { * <p>Converts the character to the Integer it represents, throwing an * exception if the character is not numeric.</p> * - * <p>This method coverts the char '1' to the int 1 and so on.</p> + * <p>This method converts the char '1' to the int 1 and so on.</p> * * <pre> * CharUtils.toIntValue(null, -1) = -1 http://git-wip-us.apache.org/repos/asf/commons-lang/blob/be3638eb/src/main/java/org/apache/commons/lang3/StringUtils.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index e6dd61f..7e62d32 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -5052,7 +5052,7 @@ public class StringUtils { * <p>Unlike in the {@link #removePattern(String, String)} method, the {@link Pattern#DOTALL} option * is NOT automatically added. * To use the DOTALL option prepend <code>"(?s)"</code> to the regex. - * DOTALL is also know as single-line mode in Perl.</p> + * DOTALL is also known as single-line mode in Perl.</p> * * <pre> * StringUtils.removeAll(null, *) = null @@ -5098,7 +5098,7 @@ public class StringUtils { * * <p>The {@link Pattern#DOTALL} option is NOT automatically added. * To use the DOTALL option prepend <code>"(?s)"</code> to the regex. - * DOTALL is also know as single-line mode in Perl.</p> + * DOTALL is also known as single-line mode in Perl.</p> * * <pre> * StringUtils.removeFirst(null, *) = null @@ -5191,7 +5191,7 @@ public class StringUtils { /** * <p>Replaces each substring of the source String that matches the given regular expression with the given - * replacement using the {@link Pattern#DOTALL} option. DOTALL is also know as single-line mode in Perl.</p> + * replacement using the {@link Pattern#DOTALL} option. DOTALL is also known as single-line mode in Perl.</p> * * This call is a {@code null} safe equivalent to: * <ul> @@ -5284,7 +5284,7 @@ public class StringUtils { * <p>Unlike in the {@link #replacePattern(String, String, String)} method, the {@link Pattern#DOTALL} option * is NOT automatically added. * To use the DOTALL option prepend <code>"(?s)"</code> to the regex. - * DOTALL is also know as single-line mode in Perl.</p> + * DOTALL is also known as single-line mode in Perl.</p> * * <pre> * StringUtils.replaceAll(null, *, *) = null @@ -5338,7 +5338,7 @@ public class StringUtils { * * <p>The {@link Pattern#DOTALL} option is NOT automatically added. * To use the DOTALL option prepend <code>"(?s)"</code> to the regex. - * DOTALL is also know as single-line mode in Perl.</p> + * DOTALL is also known as single-line mode in Perl.</p> * * <pre> * StringUtils.replaceFirst(null, *, *) = null @@ -6212,7 +6212,7 @@ public class StringUtils { * StringUtils.repeat('e', -2) = "" * </pre> * - * <p>Note: this method doesn't not support padding with + * <p>Note: this method does not support padding with * <a href="http://www.unicode.org/glossary/#supplementary_character">Unicode Supplementary Characters</a> * as they require a pair of {@code char}s to be represented. * If you are needing to support full I18N of your applications @@ -9218,7 +9218,7 @@ public class StringUtils { * * <p>Valid pairs of surrogate code units will be converted into a single supplementary * code point. Isolated surrogate code units (i.e. a high surrogate not followed by a low surrogate or - * a low surrogate not preceeded by a high surrogate) will be returned as-is.</p> + * a low surrogate not preceded by a high surrogate) will be returned as-is.</p> * * <pre> * StringUtils.toCodePoints(null) = null http://git-wip-us.apache.org/repos/asf/commons-lang/blob/be3638eb/src/main/java/org/apache/commons/lang3/ThreadUtils.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/lang3/ThreadUtils.java b/src/main/java/org/apache/commons/lang3/ThreadUtils.java index 0091cb0..55a7b22 100644 --- a/src/main/java/org/apache/commons/lang3/ThreadUtils.java +++ b/src/main/java/org/apache/commons/lang3/ThreadUtils.java @@ -36,7 +36,7 @@ import java.util.List; public class ThreadUtils { /** - * Return the active thread with the specified id if it belong's to the specified thread group. + * Return the active thread with the specified id if it belongs to the specified thread group. * * @param threadId The thread id * @param threadGroup The thread group @@ -59,7 +59,7 @@ public class ThreadUtils { } /** - * Return the active thread with the specified id if it belong's to a thread group with the specified group name. + * Return the active thread with the specified id if it belongs to a thread group with the specified group name. * * @param threadId The thread id * @param threadGroupName The thread group name http://git-wip-us.apache.org/repos/asf/commons-lang/blob/be3638eb/src/main/java/org/apache/commons/lang3/builder/EqualsExclude.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/lang3/builder/EqualsExclude.java b/src/main/java/org/apache/commons/lang3/builder/EqualsExclude.java index fe09f81..21ec4bb 100755 --- a/src/main/java/org/apache/commons/lang3/builder/EqualsExclude.java +++ b/src/main/java/org/apache/commons/lang3/builder/EqualsExclude.java @@ -23,7 +23,7 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * Use this annotation to exclude a field from being being used by + * Use this annotation to exclude a field from being used by * the various <code>reflectionEquals</code> methods defined on * {@link EqualsBuilder}. * http://git-wip-us.apache.org/repos/asf/commons-lang/blob/be3638eb/src/main/java/org/apache/commons/lang3/builder/HashCodeExclude.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/lang3/builder/HashCodeExclude.java b/src/main/java/org/apache/commons/lang3/builder/HashCodeExclude.java index 65d9bef..c552919 100755 --- a/src/main/java/org/apache/commons/lang3/builder/HashCodeExclude.java +++ b/src/main/java/org/apache/commons/lang3/builder/HashCodeExclude.java @@ -23,7 +23,7 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * Use this annotation to exclude a field from being being used by + * Use this annotation to exclude a field from being used by * the various <code>reflectionHashcode</code> methods defined on * {@link HashCodeBuilder}. * http://git-wip-us.apache.org/repos/asf/commons-lang/blob/be3638eb/src/main/java/org/apache/commons/lang3/builder/ToStringBuilder.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/lang3/builder/ToStringBuilder.java b/src/main/java/org/apache/commons/lang3/builder/ToStringBuilder.java index 20dd748..63117b0 100644 --- a/src/main/java/org/apache/commons/lang3/builder/ToStringBuilder.java +++ b/src/main/java/org/apache/commons/lang3/builder/ToStringBuilder.java @@ -225,7 +225,7 @@ public class ToStringBuilder implements Builder<String> { } /** - * <p>Constructs a builder for the specified object using the a defined output style.</p> + * <p>Constructs a builder for the specified object using the defined output style.</p> * * <p>If the style is <code>null</code>, the default style is used.</p> * http://git-wip-us.apache.org/repos/asf/commons-lang/blob/be3638eb/src/main/java/org/apache/commons/lang3/builder/ToStringExclude.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/lang3/builder/ToStringExclude.java b/src/main/java/org/apache/commons/lang3/builder/ToStringExclude.java index 4cd31cc..e36acce 100755 --- a/src/main/java/org/apache/commons/lang3/builder/ToStringExclude.java +++ b/src/main/java/org/apache/commons/lang3/builder/ToStringExclude.java @@ -23,7 +23,7 @@ import java.lang.annotation.Target; import java.lang.annotation.RetentionPolicy; /** - * Use this annotation to exclude a field from being being used by + * Use this annotation to exclude a field from being used by * the {@link ReflectionToStringBuilder}. * * @since 3.5 http://git-wip-us.apache.org/repos/asf/commons-lang/blob/be3638eb/src/main/java/org/apache/commons/lang3/text/StrTokenizer.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/lang3/text/StrTokenizer.java b/src/main/java/org/apache/commons/lang3/text/StrTokenizer.java index 06bc2b8..25db7c9 100644 --- a/src/main/java/org/apache/commons/lang3/text/StrTokenizer.java +++ b/src/main/java/org/apache/commons/lang3/text/StrTokenizer.java @@ -27,7 +27,7 @@ import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; /** - * Tokenizes a string based based on delimiters (separators) + * Tokenizes a string based on delimiters (separators) * and supporting quoting and ignored character concepts. * <p> * This class can split a String into many smaller strings. It aims