groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject groovy git commit: StringGroovyMethods#uncapitalize: fix last javadoc example
Date Fri, 30 Dec 2016 09:19:16 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 8e9c3c20d -> 0f49de071


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 <pascalschumacher@gmx.net>
Authored: Fri Dec 30 10:19:10 2016 +0100
Committer: pascalschumacher <pascalschumacher@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


Mime
View raw message