You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/03/09 18:39:24 UTC

[lang] Fix typo on appendIfMissing Javadoc. https://github.com/apache/commons-lang/pull/129

Repository: commons-lang
Updated Branches:
  refs/heads/master cd63fed74 -> 3e0555351


Fix typo on appendIfMissing Javadoc.
https://github.com/apache/commons-lang/pull/129

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/3e055535
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/3e055535
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/3e055535

Branch: refs/heads/master
Commit: 3e055535103200da785d509e7b3de1e2d283867e
Parents: cd63fed
Author: ggregory <gg...@apache.org>
Authored: Wed Mar 9 09:39:20 2016 -0800
Committer: ggregory <gg...@apache.org>
Committed: Wed Mar 9 09:39:20 2016 -0800

----------------------------------------------------------------------
 src/main/java/org/apache/commons/lang3/StringUtils.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/3e055535/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 bd91f55..a162aa4 100644
--- a/src/main/java/org/apache/commons/lang3/StringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -8167,14 +8167,14 @@ public class StringUtils {
 
     /**
      * Appends the suffix to the end of the string if the string does not
-     * already end in the suffix.
+     * already end with the suffix.
      *
      * @param str The string.
      * @param suffix The suffix to append to the end of the string.
      * @param ignoreCase Indicates whether the compare should ignore case.
      * @param suffixes Additional suffixes that are valid terminators (optional).
      *
-     * @return A new String if suffix was appened, the same string otherwise.
+     * @return A new String if suffix was appended, the same string otherwise.
      */
     private static String appendIfMissing(final String str, final CharSequence suffix, final boolean ignoreCase, final CharSequence... suffixes) {
         if (str == null || isEmpty(suffix) || endsWith(str, suffix, ignoreCase)) {
@@ -8192,7 +8192,7 @@ public class StringUtils {
 
     /**
      * Appends the suffix to the end of the string if the string does not
-     * already end with any the suffixes.
+     * already end with any of the suffixes.
      *
      * <pre>
      * StringUtils.appendIfMissing(null, null) = null
@@ -8220,7 +8220,7 @@ public class StringUtils {
      * @param suffix The suffix to append to the end of the string.
      * @param suffixes Additional suffixes that are valid terminators.
      *
-     * @return A new String if suffix was appened, the same string otherwise.
+     * @return A new String if suffix was appended, the same string otherwise.
      *
      * @since 3.2
      */
@@ -8258,7 +8258,7 @@ public class StringUtils {
      * @param suffix The suffix to append to the end of the string.
      * @param suffixes Additional suffixes that are valid terminators.
      *
-     * @return A new String if suffix was appened, the same string otherwise.
+     * @return A new String if suffix was appended, the same string otherwise.
      *
      * @since 3.2
      */