groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject [1/2] incubator-groovy git commit: minimal improvement to style
Date Fri, 03 Jul 2015 21:36:50 GMT
Repository: incubator-groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X b639db96c -> 13b9eeb94


minimal improvement to style


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 13b9eeb94311039bb9011d619c1ed29f210b7802
Parents: 6453efc
Author: pascalschumacher <pascalschumacher@gmx.net>
Authored: Fri Jul 3 23:34:36 2015 +0200
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Fri Jul 3 23:36:31 2015 +0200

----------------------------------------------------------------------
 src/spec/doc/style-guide.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/13b9eeb9/src/spec/doc/style-guide.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/style-guide.adoc b/src/spec/doc/style-guide.adoc
index ac19817..72462e3 100644
--- a/src/spec/doc/style-guide.adoc
+++ b/src/spec/doc/style-guide.adoc
@@ -307,7 +307,7 @@ server.name = "Obelix"
 server.cluster = aCluster
 ----
 
-You can use named parameters with the default constructor (first the constructor is called,
then the setters are called in turn in the sequence in which they are specified in the map):
+You can use named parameters with the default constructor (first the constructor is called,
then the setters are called in the sequence in which they are specified in the map):
 
 [source,groovy]
 ----
@@ -443,7 +443,7 @@ You can also strip the indentation appearing on the left side of the multiline
s
 Also note the difference between single quotes and double quotes in Groovy: single quotes
always create Java Strings,
 without interpolation of variables, whereas double quotes either create Java Strings or GStrings
when interpolated variables are present.
 
-For multiline strings, you can triple the quotes: ie. triple double quotes for GStrings and
triple single quotes for mere Strings.
+For multiline strings, you can triple the quotes: i.e. triple double quotes for GStrings
and triple single quotes for mere Strings.
 
 If you need to write regular expression patterns, you should use the "slashy" string notation:
 


Mime
View raw message