Repository: commons-text Updated Branches: refs/heads/master 4464ac019 -> 5ee933190
WordUtils: fix typo: occured -> occurred Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/5ee93319 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/5ee93319 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/5ee93319 Branch: refs/heads/master Commit: 5ee9331907760eea9c5d74e642d68475e99bffd4 Parents: 4464ac0 Author: Eitan Adler <li...@eitanadler.com> Authored: Fri Aug 17 23:29:46 2018 -0700 Committer: Eitan Adler <li...@eitanadler.com> Committed: Fri Aug 17 23:29:46 2018 -0700 ---------------------------------------------------------------------- src/main/java/org/apache/commons/text/WordUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-text/blob/5ee93319/src/main/java/org/apache/commons/text/WordUtils.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/text/WordUtils.java b/src/main/java/org/apache/commons/text/WordUtils.java index 4cd078c..91e4ff8 100644 --- a/src/main/java/org/apache/commons/text/WordUtils.java +++ b/src/main/java/org/apache/commons/text/WordUtils.java @@ -859,7 +859,7 @@ public class WordUtils { final int index = StringUtils.indexOf(str, " ", lower); if (index == -1) { result.append(str, 0, upper); - // only if abbreviation has occured do we append the appendToEnd value + // only if abbreviation has occurred do we append the appendToEnd value if (upper != str.length()) { result.append(StringUtils.defaultString(appendToEnd)); }