groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject incubator-groovy git commit: Fix formatting in extension modules (closes #113)
Date Sun, 06 Sep 2015 06:59:01 GMT
Repository: incubator-groovy
Updated Branches:
  refs/heads/master 4f7696997 -> 45908e2a4


Fix formatting in extension modules (closes #113)


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

Branch: refs/heads/master
Commit: 45908e2a4c532da87e93812f8b59bb4387139c02
Parents: 4f76969
Author: Aseem Bansal <anshbansal@users.noreply.github.com>
Authored: Sat Sep 5 12:17:56 2015 +0530
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Sun Sep 6 08:58:26 2015 +0200

----------------------------------------------------------------------
 src/spec/doc/core-metaprogramming.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/45908e2a/src/spec/doc/core-metaprogramming.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-metaprogramming.adoc b/src/spec/doc/core-metaprogramming.adoc
index c69490c..cdc4bca 100644
--- a/src/spec/doc/core-metaprogramming.adoc
+++ b/src/spec/doc/core-metaprogramming.adoc
@@ -600,7 +600,7 @@ public static String getText(File file, String charset) throws IOException
{
 }
 ----------------------------------------------------------------------------
 
-You may notice that the extension method is defined using a static method in a ``helper''
class (where various extension
+You may notice that the extension method is defined using a static method in a helper class
(where various extension
 methods are defined). The first argument of the `getText` method corresponds to the receiver,
while additional parameters
 correspond to the arguments of the extension method. So here, we are defining a method called
_getText_ on
 the `File` class (because the first argument is of type `File`), which takes a single argument
as a parameter (the encoding `String`).


Mime
View raw message