You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2017/01/26 05:31:06 UTC

[32/50] groovy git commit: StringGroovyMethods#uncapitalize: fix last javadoc example

StringGroovyMethods#uncapitalize: fix last javadoc example


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/0f49de07
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/0f49de07
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/0f49de07

Branch: refs/heads/GROOVY_2_4_X
Commit: 0f49de0713b3619f2b8fe6c9425f71dc76ef13d0
Parents: 8e9c3c2
Author: pascalschumacher <pa...@gmx.net>
Authored: Fri Dec 30 10:19:10 2016 +0100
Committer: pascalschumacher <pa...@gmx.net>
Committed: Fri Dec 30 10:19:10 2016 +0100

----------------------------------------------------------------------
 src/main/org/codehaus/groovy/runtime/StringGroovyMethods.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/0f49de07/src/main/org/codehaus/groovy/runtime/StringGroovyMethods.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/runtime/StringGroovyMethods.java b/src/main/org/codehaus/groovy/runtime/StringGroovyMethods.java
index 99f7227..5448b1b 100644
--- a/src/main/org/codehaus/groovy/runtime/StringGroovyMethods.java
+++ b/src/main/org/codehaus/groovy/runtime/StringGroovyMethods.java
@@ -215,8 +215,8 @@ public class StringGroovyMethods extends DefaultGroovyMethodsSupport {
      * assert 'Hello'.uncapitalize() == 'hello'
      * assert 'Hello world'.uncapitalize() == 'hello world'
      * assert 'Hello World'.uncapitalize() == 'hello World'
-     * assert 'Hello World' ==
-     *     'hello world'.split(' ').collect{ it.uncapitalize() }.join(' ')
+     * assert 'hello world' ==
+     *     'Hello World'.split(' ').collect{ it.uncapitalize() }.join(' ')
      * </pre>
      *
      * @param self The CharSequence to uncapitalize