groovy git commit: Fix typo beeing -> being(closes #839)

2018-12-12 Thread sunlan
Repository: groovy
Updated Branches:
  refs/heads/master 1bd305bfb -> 334f7d7fd


Fix typo beeing -> being(closes #839)


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

Branch: refs/heads/master
Commit: 334f7d7fd3634652fce3a92486339361538fbb47
Parents: 1bd305b
Author: Javier S. López 
Authored: Wed Dec 12 11:15:20 2018 +0100
Committer: Daniel Sun 
Committed: Wed Dec 12 22:12:57 2018 +0800

--
 .../java/org/codehaus/groovy/ast/tools/WideningCategories.java   | 2 +-
 src/spec/doc/core-domain-specific-languages.adoc | 4 ++--
 src/spec/test/CodeGenerationASTTransformsTest.groovy | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/334f7d7f/src/main/java/org/codehaus/groovy/ast/tools/WideningCategories.java
--
diff --git 
a/src/main/java/org/codehaus/groovy/ast/tools/WideningCategories.java 
b/src/main/java/org/codehaus/groovy/ast/tools/WideningCategories.java
index fb1cc72..9aab179 100644
--- a/src/main/java/org/codehaus/groovy/ast/tools/WideningCategories.java
+++ b/src/main/java/org/codehaus/groovy/ast/tools/WideningCategories.java
@@ -504,7 +504,7 @@ public class WideningCategories {
 return;
 }
 if (interfaceNode.implementsInterface(node)) {
-// the interface beeing added is more specific than the one in 
the list, replace it
+// the interface being added is more specific than the one in 
the list, replace it
 nodes.set(i, interfaceNode);
 return;
 }

http://git-wip-us.apache.org/repos/asf/groovy/blob/334f7d7f/src/spec/doc/core-domain-specific-languages.adoc
--
diff --git a/src/spec/doc/core-domain-specific-languages.adoc 
b/src/spec/doc/core-domain-specific-languages.adoc
index e170651..06ca6a0 100644
--- a/src/spec/doc/core-domain-specific-languages.adoc
+++ b/src/spec/doc/core-domain-specific-languages.adoc
@@ -657,7 +657,7 @@ A detailed description of all shortcuts can be found in 
gapi:org.codehaus.groovy
 
 The AST transformation customizer is meant to apply AST transformations
 transparently. Unlike global AST transformations that apply on every
-class beeing compiled as long as the transform is found on classpath
+class being compiled as long as the transform is found on classpath
 (which has drawbacks like increasing the compilation time or side
 effects due to transformations applied where they should not), the
 customizer will allow you to selectively apply a transform only for
@@ -1755,4 +1755,4 @@ This produces the same directory structure as above, as 
shown by these `assert`s
 [source,groovy]
 
 
include::{projectdir}/src/spec/test/builder/FileTreeBuilderTest.groovy[tags=shorthand_syntax_assert,indent=0]
-
\ No newline at end of file
+

http://git-wip-us.apache.org/repos/asf/groovy/blob/334f7d7f/src/spec/test/CodeGenerationASTTransformsTest.groovy
--
diff --git a/src/spec/test/CodeGenerationASTTransformsTest.groovy 
b/src/spec/test/CodeGenerationASTTransformsTest.groovy
index 4fc10bd..970979b 100644
--- a/src/spec/test/CodeGenerationASTTransformsTest.groovy
+++ b/src/spec/test/CodeGenerationASTTransformsTest.groovy
@@ -325,7 +325,7 @@ class Person extends Living {
 }
 
 def p1 = new Person(race:'Human', firstName: 'Jack', lastName: 'Nicholson')
-def p2 = new Person(race: 'Human beeing', firstName: 'Jack', lastName: 
'Nicholson')
+def p2 = new Person(race: 'Human being', firstName: 'Jack', lastName: 
'Nicholson')
 
 assert p1!=p2
 assert p1.hashCode() != p2.hashCode()



groovy git commit: Fix typo

2018-12-10 Thread sunlan
Repository: groovy
Updated Branches:
  refs/heads/master 13507791f -> d427d925d


Fix typo


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

Branch: refs/heads/master
Commit: d427d925dfa4311bedf80ac788cade3cb2660fe8
Parents: 1350779
Author: Daniel Sun 
Authored: Mon Dec 10 18:22:02 2018 +0800
Committer: Daniel Sun 
Committed: Mon Dec 10 18:22:02 2018 +0800

--
 .../org/codehaus/groovy/control/CompilerConfiguration.java   | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/d427d925/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
--
diff --git 
a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java 
b/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
index ff2ee9e..828bc31 100644
--- a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
+++ b/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
@@ -49,11 +49,11 @@ public class CompilerConfiguration {
 /** This ("indy") is the Optimization Option value for 
enabling invokedynamic compilation. */
 public static final String INVOKEDYNAMIC = "indy";
 
-/** This ("groovdoc") is the Optimization Option value for 
enabling attaching groovydoc as AST node metadata. */
-public static final String GROOVYDOC = "groovdoc";
+/** This ("groovydoc") is the Optimization Option value for 
enabling attaching groovydoc as AST node metadata. */
+public static final String GROOVYDOC = "groovydoc";
 
-/** This ("runtimeGroovdoc") is the Optimization Option value 
for enabling attaching {@link groovy.lang.Groovydoc} annotation*/
-public static final String RUNTIME_GROOVYDOC = "runtimeGroovdoc";
+/** This ("runtimeGroovydoc") is the Optimization Option 
value for enabling attaching {@link groovy.lang.Groovydoc} annotation*/
+public static final String RUNTIME_GROOVYDOC = "runtimeGroovydoc";
 
 /** This ("1.4") is the value for targetBytecode to compile 
for a JDK 1.4. **/
 public static final String JDK4 = "1.4";



groovy git commit: fix typo in error message

2018-10-22 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X 21662c8b2 -> ca296db62


fix typo in error message


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

Branch: refs/heads/GROOVY_2_5_X
Commit: ca296db62b98437a9da9cd2f0fba08ead9b37eed
Parents: 21662c8
Author: Paul King 
Authored: Tue Oct 23 14:44:27 2018 +1000
Committer: Paul King 
Committed: Tue Oct 23 14:52:15 2018 +1000

--
 src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/ca296db6/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java
--
diff --git a/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java 
b/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java
index 3b64333..844d7c6 100644
--- a/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java
+++ b/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java
@@ -214,7 +214,7 @@ public class ClassNodeResolver {
 LookupResult lr = tryAsScript(name, compilationUnit, null);
 return lr;
 } catch (CompilationFailedException cfe) {
-throw new GroovyBugError("The lookup for "+name+" caused a failed 
compilaton. There should not have been any compilation from this call.", cfe);
+throw new GroovyBugError("The lookup for " + name + " caused a 
failed compilation. There should not have been any compilation from this 
call.", cfe);
 }
 //TODO: the case of a NoClassDefFoundError needs a bit more research
 // a simple recompilation is not possible it seems. The current class



groovy git commit: fix typo in error message

2018-10-22 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/master e827fe6f7 -> 43d9f2178


fix typo in error message


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

Branch: refs/heads/master
Commit: 43d9f2178f0cbfbba971ae64ebe1259e0c5d0061
Parents: e827fe6
Author: Paul King 
Authored: Tue Oct 23 14:44:27 2018 +1000
Committer: Paul King 
Committed: Tue Oct 23 14:44:27 2018 +1000

--
 src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/43d9f217/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java
--
diff --git a/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java 
b/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java
index 3b64333..844d7c6 100644
--- a/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java
+++ b/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java
@@ -214,7 +214,7 @@ public class ClassNodeResolver {
 LookupResult lr = tryAsScript(name, compilationUnit, null);
 return lr;
 } catch (CompilationFailedException cfe) {
-throw new GroovyBugError("The lookup for "+name+" caused a failed 
compilaton. There should not have been any compilation from this call.", cfe);
+throw new GroovyBugError("The lookup for " + name + " caused a 
failed compilation. There should not have been any compilation from this 
call.", cfe);
 }
 //TODO: the case of a NoClassDefFoundError needs a bit more research
 // a simple recompilation is not possible it seems. The current class



groovy git commit: fix typo

2018-08-06 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/master 9f7789ca8 -> 5612477a8


fix typo


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

Branch: refs/heads/master
Commit: 5612477a8fd7867cc2e65397aeeb0b9d34de7ff3
Parents: 9f7789c
Author: Paul King 
Authored: Tue Aug 7 16:19:10 2018 +1000
Committer: Paul King 
Committed: Tue Aug 7 16:43:45 2018 +1000

--
 .../groovy/transform/traitx/TraitASTTransformationTest.groovy  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/5612477a/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
--
diff --git 
a/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
 
b/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
index ca38d16..4c3b95e 100644
--- 
a/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
+++ 
b/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
@@ -2594,7 +2594,7 @@ assert c.b() == 2
 assertScript '''
 trait Startable {
 final int start() { doStart() * 2 }
-abstract int doStart() { }
+abstract int doStart()
 }
 
 abstract class Base implements Startable { }



groovy git commit: fix typo

2018-08-06 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X 7129da673 -> 3d3df8daf


fix typo


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 3d3df8daf4235501125bae54151d17f5c3be17ed
Parents: 7129da6
Author: Paul King 
Authored: Tue Aug 7 16:19:10 2018 +1000
Committer: Paul King 
Committed: Tue Aug 7 16:19:10 2018 +1000

--
 .../groovy/transform/traitx/TraitASTTransformationTest.groovy  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/3d3df8da/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
--
diff --git 
a/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
 
b/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
index ca38d16..4c3b95e 100644
--- 
a/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
+++ 
b/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
@@ -2594,7 +2594,7 @@ assert c.b() == 2
 assertScript '''
 trait Startable {
 final int start() { doStart() * 2 }
-abstract int doStart() { }
+abstract int doStart()
 }
 
 abstract class Base implements Startable { }



[2/5] groovy git commit: fix typo

2018-05-23 Thread paulk
fix typo


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

Branch: refs/heads/master
Commit: 1936f1844e952a08eb8eacdb6eebb0233f4eed44
Parents: 5eab4a5
Author: Paul King 
Authored: Wed May 23 10:09:42 2018 +1000
Committer: Paul King 
Committed: Thu May 24 00:08:24 2018 +1000

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/1936f184/src/spec/doc/core-semantics.adoc
--
diff --git a/src/spec/doc/core-semantics.adoc b/src/spec/doc/core-semantics.adoc
index 37f5b42..5fe3f5d 100644
--- a/src/spec/doc/core-semantics.adoc
+++ b/src/spec/doc/core-semantics.adoc
@@ -1591,8 +1591,8 @@ The type checker will now fail at compile time, because 
it knows that `o` is a `
 so it's a type error.
 
 It is important to understand that it is not the fact of declaring a variable 
with `def` that triggers type inference.
-Flow typing works for *any* variable of any type. Declaring a variable with an 
explicit type only constraints what you
-can assign to a variable:
+Flow typing works for *any* variable of any type. Declaring a variable with an 
explicit type only constrains what you
+can assign to the variable:
 
 [source,groovy]
 



[1/2] groovy git commit: fix typo

2018-05-23 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 96f07c832 -> 6ffe0f62d


fix typo


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 3d4ceb1bc06ae57c37e54ed07373bbc69b0d8c4c
Parents: 96f07c8
Author: Paul King 
Authored: Wed May 23 10:09:42 2018 +1000
Committer: Paul King 
Committed: Thu May 24 00:28:51 2018 +1000

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/3d4ceb1b/src/spec/doc/core-semantics.adoc
--
diff --git a/src/spec/doc/core-semantics.adoc b/src/spec/doc/core-semantics.adoc
index 232fffb..eb7f7b7 100644
--- a/src/spec/doc/core-semantics.adoc
+++ b/src/spec/doc/core-semantics.adoc
@@ -1591,8 +1591,8 @@ The type checker will now fail at compile time, because 
it knows that `o` is a `
 so it's a type error.
 
 It is important to understand that it is not the fact of declaring a variable 
with `def` that triggers type inference.
-Flow typing works for *any* variable of any type. Declaring a variable with an 
explicit type only constraints what you
-can assign to a variable:
+Flow typing works for *any* variable of any type. Declaring a variable with an 
explicit type only constrains what you
+can assign to the variable:
 
 [source,groovy]
 



[1/2] groovy git commit: fix typo

2018-05-23 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X f4301ad11 -> 8cb07af31


fix typo


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

Branch: refs/heads/GROOVY_2_5_X
Commit: c1016f394a26f9344b636ba65b559411a72faa7a
Parents: f4301ad
Author: Paul King 
Authored: Wed May 23 10:09:42 2018 +1000
Committer: Paul King 
Committed: Thu May 24 00:09:49 2018 +1000

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/c1016f39/src/spec/doc/core-semantics.adoc
--
diff --git a/src/spec/doc/core-semantics.adoc b/src/spec/doc/core-semantics.adoc
index 37f5b42..5fe3f5d 100644
--- a/src/spec/doc/core-semantics.adoc
+++ b/src/spec/doc/core-semantics.adoc
@@ -1591,8 +1591,8 @@ The type checker will now fail at compile time, because 
it knows that `o` is a `
 so it's a type error.
 
 It is important to understand that it is not the fact of declaring a variable 
with `def` that triggers type inference.
-Flow typing works for *any* variable of any type. Declaring a variable with an 
explicit type only constraints what you
-can assign to a variable:
+Flow typing works for *any* variable of any type. Declaring a variable with an 
explicit type only constrains what you
+can assign to the variable:
 
 [source,groovy]
 



[1/2] groovy git commit: fix typo

2018-05-23 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 09288a749 -> c2790b4df


fix typo


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 6abaa158af14181f827ffabd51fa7d9ecdd7b40b
Parents: 09288a7
Author: Paul King 
Authored: Wed May 23 10:09:42 2018 +1000
Committer: Paul King 
Committed: Thu May 24 00:09:18 2018 +1000

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/6abaa158/src/spec/doc/core-semantics.adoc
--
diff --git a/src/spec/doc/core-semantics.adoc b/src/spec/doc/core-semantics.adoc
index 37f5b42..5fe3f5d 100644
--- a/src/spec/doc/core-semantics.adoc
+++ b/src/spec/doc/core-semantics.adoc
@@ -1591,8 +1591,8 @@ The type checker will now fail at compile time, because 
it knows that `o` is a `
 so it's a type error.
 
 It is important to understand that it is not the fact of declaring a variable 
with `def` that triggers type inference.
-Flow typing works for *any* variable of any type. Declaring a variable with an 
explicit type only constraints what you
-can assign to a variable:
+Flow typing works for *any* variable of any type. Declaring a variable with an 
explicit type only constrains what you
+can assign to the variable:
 
 [source,groovy]
 



groovy git commit: fix typo for delegated method

2018-05-22 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X d7093ef8c -> 4ca8d8a63


fix typo for delegated method


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 4ca8d8a631f77d888000dbc385e2b17df3b57e4f
Parents: d7093ef
Author: Paul King 
Authored: Wed May 23 01:33:20 2018 +1000
Committer: Paul King 
Committed: Wed May 23 01:36:13 2018 +1000

--
 .../src/main/groovy/groovy/util/CliBuilder.groovy  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/4ca8d8a6/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy
--
diff --git 
a/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy 
b/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy
index a7097db..58ec973 100644
--- 
a/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy
+++ 
b/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy
@@ -57,7 +57,7 @@ class CliBuilder {
  * Use groovy.cli.commons.CliBuilder if you need this feature.
  */
 @Deprecated
-CommandLineParser setParser() {
+CommandLineParser getParser() {
 delegate.getParser()
 }
 



groovy git commit: fix typo for delegated method

2018-05-22 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X ff5789868 -> 3f90c03f9


fix typo for delegated method


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 3f90c03f9caf5ea569469e42fccc61b2b0cb1e00
Parents: ff57898
Author: Paul King 
Authored: Wed May 23 01:33:20 2018 +1000
Committer: Paul King 
Committed: Wed May 23 01:33:20 2018 +1000

--
 .../src/main/groovy/groovy/util/CliBuilder.groovy  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/3f90c03f/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy
--
diff --git 
a/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy 
b/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy
index a7097db..58ec973 100644
--- 
a/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy
+++ 
b/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy
@@ -57,7 +57,7 @@ class CliBuilder {
  * Use groovy.cli.commons.CliBuilder if you need this feature.
  */
 @Deprecated
-CommandLineParser setParser() {
+CommandLineParser getParser() {
 delegate.getParser()
 }
 



groovy git commit: fix typo for delegated method

2018-05-21 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/master 434de3dd3 -> b0d79332a


fix typo for delegated method


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

Branch: refs/heads/master
Commit: b0d79332a3e897e821e62983ba38e5d926fa7cdd
Parents: 434de3d
Author: Daniel Sun 
Authored: Tue May 22 01:23:11 2018 +1000
Committer: Paul King 
Committed: Tue May 22 01:23:11 2018 +1000

--
 .../src/main/groovy/groovy/util/CliBuilder.groovy  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/b0d79332/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy
--
diff --git 
a/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy 
b/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy
index a7097db..58ec973 100644
--- 
a/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy
+++ 
b/subprojects/groovy-cli-commons/src/main/groovy/groovy/util/CliBuilder.groovy
@@ -57,7 +57,7 @@ class CliBuilder {
  * Use groovy.cli.commons.CliBuilder if you need this feature.
  */
 @Deprecated
-CommandLineParser setParser() {
+CommandLineParser getParser() {
 delegate.getParser()
 }
 



groovy git commit: fix typo

2018-03-06 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 687a27ef8 -> 2b40581a7


fix typo


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 2b40581a749234ae8ba66a43519775bc795568e7
Parents: 687a27e
Author: paulk 
Authored: Tue Mar 6 20:27:04 2018 +1000
Committer: paulk 
Committed: Tue Mar 6 20:30:38 2018 +1000

--
 src/main/groovy/grape/GrapeIvy.groovy | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/2b40581a/src/main/groovy/grape/GrapeIvy.groovy
--
diff --git a/src/main/groovy/grape/GrapeIvy.groovy 
b/src/main/groovy/grape/GrapeIvy.groovy
index c8f976b..075f648 100644
--- a/src/main/groovy/grape/GrapeIvy.groovy
+++ b/src/main/groovy/grape/GrapeIvy.groovy
@@ -54,9 +54,7 @@ import java.util.zip.ZipException
 import java.util.zip.ZipFile
 
 /**
- * @author Danno Ferrin
- * @author Paul King
- * @author Roshan Dawrani (roshandawrani)
+ * Implementation supporting {@code @Grape} and {@code @Grab} annotations 
based on Ivy.
  */
 class GrapeIvy implements GrapeEngine {
 



groovy git commit: fix typo

2018-03-06 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X c0c511747 -> 6152dd304


fix typo


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 6152dd304bca5651f0c2d9d5a3ed053db1caab4e
Parents: c0c5117
Author: paulk 
Authored: Tue Mar 6 20:27:04 2018 +1000
Committer: paulk 
Committed: Tue Mar 6 20:28:42 2018 +1000

--
 src/main/groovy/groovy/grape/GrapeIvy.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/6152dd30/src/main/groovy/groovy/grape/GrapeIvy.groovy
--
diff --git a/src/main/groovy/groovy/grape/GrapeIvy.groovy 
b/src/main/groovy/groovy/grape/GrapeIvy.groovy
index 5d7c5c2..6109dab 100644
--- a/src/main/groovy/groovy/grape/GrapeIvy.groovy
+++ b/src/main/groovy/groovy/grape/GrapeIvy.groovy
@@ -57,7 +57,7 @@ import java.util.zip.ZipException
 import java.util.zip.ZipFile
 
 /**
- * Implementation suppoting {@code @Grape} and {@code @Grab} annotations based 
on Ivy.
+ * Implementation supporting {@code @Grape} and {@code @Grab} annotations 
based on Ivy.
  */
 class GrapeIvy implements GrapeEngine {
 



groovy git commit: fix typo

2018-03-06 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 271edf802 -> 2e3de40eb


fix typo


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 2e3de40eb21c4b757bf47a4e0f5780044cec3410
Parents: 271edf8
Author: paulk 
Authored: Tue Mar 6 20:27:04 2018 +1000
Committer: paulk 
Committed: Tue Mar 6 20:28:14 2018 +1000

--
 src/main/groovy/groovy/grape/GrapeIvy.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/2e3de40e/src/main/groovy/groovy/grape/GrapeIvy.groovy
--
diff --git a/src/main/groovy/groovy/grape/GrapeIvy.groovy 
b/src/main/groovy/groovy/grape/GrapeIvy.groovy
index 5d7c5c2..6109dab 100644
--- a/src/main/groovy/groovy/grape/GrapeIvy.groovy
+++ b/src/main/groovy/groovy/grape/GrapeIvy.groovy
@@ -57,7 +57,7 @@ import java.util.zip.ZipException
 import java.util.zip.ZipFile
 
 /**
- * Implementation suppoting {@code @Grape} and {@code @Grab} annotations based 
on Ivy.
+ * Implementation supporting {@code @Grape} and {@code @Grab} annotations 
based on Ivy.
  */
 class GrapeIvy implements GrapeEngine {
 



groovy git commit: fix typo

2018-03-06 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/master c5bc1f1bb -> 4c5fd9d7e


fix typo


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

Branch: refs/heads/master
Commit: 4c5fd9d7e60fc5366e9a3626f36b6aa4349e2f59
Parents: c5bc1f1
Author: paulk 
Authored: Tue Mar 6 20:27:04 2018 +1000
Committer: paulk 
Committed: Tue Mar 6 20:27:04 2018 +1000

--
 src/main/groovy/groovy/grape/GrapeIvy.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/4c5fd9d7/src/main/groovy/groovy/grape/GrapeIvy.groovy
--
diff --git a/src/main/groovy/groovy/grape/GrapeIvy.groovy 
b/src/main/groovy/groovy/grape/GrapeIvy.groovy
index 5d7c5c2..6109dab 100644
--- a/src/main/groovy/groovy/grape/GrapeIvy.groovy
+++ b/src/main/groovy/groovy/grape/GrapeIvy.groovy
@@ -57,7 +57,7 @@ import java.util.zip.ZipException
 import java.util.zip.ZipFile
 
 /**
- * Implementation suppoting {@code @Grape} and {@code @Grab} annotations based 
on Ivy.
+ * Implementation supporting {@code @Grape} and {@code @Grab} annotations 
based on Ivy.
  */
 class GrapeIvy implements GrapeEngine {
 



[2/2] groovy git commit: fix typo

2018-02-18 Thread sunlan
fix typo


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 2dbaf5593a8e9ccd6fce1feceddc02960d685fc8
Parents: f509b03
Author: danielsun1106 
Authored: Sun Feb 18 19:51:08 2018 +0800
Committer: danielsun1106 
Committed: Sun Feb 18 19:51:08 2018 +0800

--
 src/main/java/org/codehaus/groovy/ast/ClassHelper.java | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/2dbaf559/src/main/java/org/codehaus/groovy/ast/ClassHelper.java
--
diff --git a/src/main/java/org/codehaus/groovy/ast/ClassHelper.java 
b/src/main/java/org/codehaus/groovy/ast/ClassHelper.java
index 8bb40dd..f08d2f2 100644
--- a/src/main/java/org/codehaus/groovy/ast/ClassHelper.java
+++ b/src/main/java/org/codehaus/groovy/ast/ClassHelper.java
@@ -244,7 +244,7 @@ public class ClassHelper {
 return makeWithoutCaching(name);
 }
 
-private static final Map 
PRIMARY_TYPE_TO_WRAPPER_TYPE_MAP = Maps.of(
+private static final Map 
PRIMITIVE_TYPE_TO_WRAPPER_TYPE_MAP = Maps.of(
 boolean_TYPE, Boolean_TYPE,
 byte_TYPE, Byte_TYPE,
 char_TYPE, Character_TYPE,
@@ -277,7 +277,7 @@ public class ClassHelper {
 cn = cn.redirect();
 if (!isPrimitiveType(cn)) return cn;
 
-ClassNode result = PRIMARY_TYPE_TO_WRAPPER_TYPE_MAP.get(cn);
+ClassNode result = PRIMITIVE_TYPE_TO_WRAPPER_TYPE_MAP.get(cn);
 
 if (null != result) {
 return result;
@@ -286,13 +286,13 @@ public class ClassHelper {
 return cn;
 }
 
-private static final Map 
WRAPPER_TYPE_TO_PRIMARY_TYPE_MAP = 
Maps.inverse(PRIMARY_TYPE_TO_WRAPPER_TYPE_MAP);
+private static final Map 
WRAPPER_TYPE_TO_PRIMITIVE_TYPE_MAP = 
Maps.inverse(PRIMITIVE_TYPE_TO_WRAPPER_TYPE_MAP);
 
 public static ClassNode getUnwrapper(ClassNode cn) {
 cn = cn.redirect();
 if (isPrimitiveType(cn)) return cn;
 
-ClassNode result = WRAPPER_TYPE_TO_PRIMARY_TYPE_MAP.get(cn);
+ClassNode result = WRAPPER_TYPE_TO_PRIMITIVE_TYPE_MAP.get(cn);
 
 if (null != result) {
 return result;



[3/3] groovy git commit: fix typo

2018-02-18 Thread sunlan
fix typo


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 11a2ba6cae2f2f29c8d230bfecb29c0229ef6329
Parents: c77ed94
Author: danielsun1106 
Authored: Sun Feb 18 19:49:38 2018 +0800
Committer: danielsun1106 
Committed: Sun Feb 18 19:49:38 2018 +0800

--
 src/main/java/org/codehaus/groovy/ast/ClassHelper.java | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/11a2ba6c/src/main/java/org/codehaus/groovy/ast/ClassHelper.java
--
diff --git a/src/main/java/org/codehaus/groovy/ast/ClassHelper.java 
b/src/main/java/org/codehaus/groovy/ast/ClassHelper.java
index b81c969..fa93fb4 100644
--- a/src/main/java/org/codehaus/groovy/ast/ClassHelper.java
+++ b/src/main/java/org/codehaus/groovy/ast/ClassHelper.java
@@ -249,7 +249,7 @@ public class ClassHelper {
 return makeWithoutCaching(name);
 }
 
-private static final Map 
PRIMARY_TYPE_TO_WRAPPER_TYPE_MAP = Maps.of(
+private static final Map 
PRIMITIVE_TYPE_TO_WRAPPER_TYPE_MAP = Maps.of(
 boolean_TYPE, Boolean_TYPE,
 byte_TYPE, Byte_TYPE,
 char_TYPE, Character_TYPE,
@@ -282,7 +282,7 @@ public class ClassHelper {
 cn = cn.redirect();
 if (!isPrimitiveType(cn)) return cn;
 
-ClassNode result = PRIMARY_TYPE_TO_WRAPPER_TYPE_MAP.get(cn);
+ClassNode result = PRIMITIVE_TYPE_TO_WRAPPER_TYPE_MAP.get(cn);
 
 if (null != result) {
 return result;
@@ -291,13 +291,13 @@ public class ClassHelper {
 return cn;
 }
 
-private static final Map 
WRAPPER_TYPE_TO_PRIMARY_TYPE_MAP = 
Maps.inverse(PRIMARY_TYPE_TO_WRAPPER_TYPE_MAP);
+private static final Map 
WRAPPER_TYPE_TO_PRIMITIVE_TYPE_MAP = 
Maps.inverse(PRIMITIVE_TYPE_TO_WRAPPER_TYPE_MAP);
 
 public static ClassNode getUnwrapper(ClassNode cn) {
 cn = cn.redirect();
 if (isPrimitiveType(cn)) return cn;
 
-ClassNode result = WRAPPER_TYPE_TO_PRIMARY_TYPE_MAP.get(cn);
+ClassNode result = WRAPPER_TYPE_TO_PRIMITIVE_TYPE_MAP.get(cn);
 
 if (null != result) {
 return result;



[2/2] groovy git commit: fix typo

2018-02-18 Thread sunlan
fix typo


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

Branch: refs/heads/master
Commit: b09e08bf15a6962928dd969dddac605c28535f06
Parents: 2aacdba
Author: danielsun1106 
Authored: Sun Feb 18 19:47:09 2018 +0800
Committer: danielsun1106 
Committed: Sun Feb 18 19:47:09 2018 +0800

--
 src/main/java/org/codehaus/groovy/ast/ClassHelper.java | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/b09e08bf/src/main/java/org/codehaus/groovy/ast/ClassHelper.java
--
diff --git a/src/main/java/org/codehaus/groovy/ast/ClassHelper.java 
b/src/main/java/org/codehaus/groovy/ast/ClassHelper.java
index b81c969..fa93fb4 100644
--- a/src/main/java/org/codehaus/groovy/ast/ClassHelper.java
+++ b/src/main/java/org/codehaus/groovy/ast/ClassHelper.java
@@ -249,7 +249,7 @@ public class ClassHelper {
 return makeWithoutCaching(name);
 }
 
-private static final Map 
PRIMARY_TYPE_TO_WRAPPER_TYPE_MAP = Maps.of(
+private static final Map 
PRIMITIVE_TYPE_TO_WRAPPER_TYPE_MAP = Maps.of(
 boolean_TYPE, Boolean_TYPE,
 byte_TYPE, Byte_TYPE,
 char_TYPE, Character_TYPE,
@@ -282,7 +282,7 @@ public class ClassHelper {
 cn = cn.redirect();
 if (!isPrimitiveType(cn)) return cn;
 
-ClassNode result = PRIMARY_TYPE_TO_WRAPPER_TYPE_MAP.get(cn);
+ClassNode result = PRIMITIVE_TYPE_TO_WRAPPER_TYPE_MAP.get(cn);
 
 if (null != result) {
 return result;
@@ -291,13 +291,13 @@ public class ClassHelper {
 return cn;
 }
 
-private static final Map 
WRAPPER_TYPE_TO_PRIMARY_TYPE_MAP = 
Maps.inverse(PRIMARY_TYPE_TO_WRAPPER_TYPE_MAP);
+private static final Map 
WRAPPER_TYPE_TO_PRIMITIVE_TYPE_MAP = 
Maps.inverse(PRIMITIVE_TYPE_TO_WRAPPER_TYPE_MAP);
 
 public static ClassNode getUnwrapper(ClassNode cn) {
 cn = cn.redirect();
 if (isPrimitiveType(cn)) return cn;
 
-ClassNode result = WRAPPER_TYPE_TO_PRIMARY_TYPE_MAP.get(cn);
+ClassNode result = WRAPPER_TYPE_TO_PRIMITIVE_TYPE_MAP.get(cn);
 
 if (null != result) {
 return result;



[1/2] groovy git commit: fix typo

2017-11-17 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/master 0f77eb19d -> afe5851af


fix typo


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

Branch: refs/heads/master
Commit: 4425a702b91addf334ed46199da5e70a435b4ae7
Parents: 0f77eb1
Author: paulk 
Authored: Fri Nov 17 15:56:58 2017 +1000
Committer: paulk 
Committed: Fri Nov 17 20:33:45 2017 +1000

--
 .../codehaus/groovy/classgen/asm/sc/StaticInvocationWriter.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/4425a702/src/main/org/codehaus/groovy/classgen/asm/sc/StaticInvocationWriter.java
--
diff --git 
a/src/main/org/codehaus/groovy/classgen/asm/sc/StaticInvocationWriter.java 
b/src/main/org/codehaus/groovy/classgen/asm/sc/StaticInvocationWriter.java
index 778d740..640d775 100644
--- a/src/main/org/codehaus/groovy/classgen/asm/sc/StaticInvocationWriter.java
+++ b/src/main/org/codehaus/groovy/classgen/asm/sc/StaticInvocationWriter.java
@@ -59,7 +59,7 @@ import static org.objectweb.asm.Opcodes.*;
 
 public class StaticInvocationWriter extends InvocationWriter {
 private static final ClassNode INVOKERHELPER_CLASSNODE = 
ClassHelper.make(InvokerHelper.class);
-private static final Expression INVOKERHELER_RECEIVER = new 
ClassExpression(INVOKERHELPER_CLASSNODE);
+private static final Expression INVOKERHELPER_RECEIVER = new 
ClassExpression(INVOKERHELPER_CLASSNODE);
 private static final MethodNode INVOKERHELPER_INVOKEMETHOD = 
INVOKERHELPER_CLASSNODE.getMethod(
 "invokeMethodSafe",
 new Parameter[]{
@@ -290,7 +290,7 @@ public class StaticInvocationWriter extends 
InvocationWriter {
 // replace call with an invoker helper call
 ArrayExpression arr = new 
ArrayExpression(ClassHelper.OBJECT_TYPE, args.getExpressions());
 MethodCallExpression mce = new MethodCallExpression(
-INVOKERHELER_RECEIVER,
+INVOKERHELPER_RECEIVER,
 target.isStatic() ? "invokeStaticMethod" : 
"invokeMethodSafe",
 new ArgumentListExpression(
 target.isStatic() ?



groovy git commit: fix typo

2017-10-20 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 58ffe9b3d -> c5299d974


fix typo


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

Branch: refs/heads/GROOVY_2_6_X
Commit: c5299d974ec251bbb31c7adda0f56ac38d69ac06
Parents: 58ffe9b
Author: paulk 
Authored: Sat Oct 21 16:02:40 2017 +1000
Committer: paulk 
Committed: Sat Oct 21 16:02:40 2017 +1000

--
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/c5299d97/.travis.yml
--
diff --git a/.travis.yml b/.travis.yml
index 340ce26..59879a0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -39,7 +39,7 @@ install: true
 before_script:
   - |
 if [ $TRAVIS_JDK_VERSION == "openjdk7" ]; then
-  export _JAVA_OPTIONS=-Xms1024m\ -Xmx20482m
+  export _JAVA_OPTIONS=-Xms1024m\ -Xmx2048m
 else
   unset _JAVA_OPTIONS
 fi



groovy git commit: Fix typo. (closes #598)

2017-09-07 Thread jwagenleitner
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X f658202a9 -> f762e30a1


Fix typo. (closes #598)


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

Branch: refs/heads/GROOVY_2_4_X
Commit: f762e30a1fb216da0957f69df6c0efc0354e8506
Parents: f658202
Author: Jose M. Alonso M 
Authored: Wed Sep 6 22:22:26 2017 +0200
Committer: John Wagenleitner 
Committed: Thu Sep 7 17:20:10 2017 -0700

--
 subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/f762e30a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
--
diff --git a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc 
b/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
index fc50f15..31c1e34 100644
--- a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
+++ b/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
@@ -174,7 +174,7 @@ Use the `query` method if you want to iterate through the 
`ResultSet` returned b
 
include::{rootProjectDir}/subprojects/groovy-sql/src/spec/test/SqlTest.groovy[tags=sql_reading_query,indent=0]
 
 
-Use the `eachRow` method if you want if you want a slightly higher-level 
abstraction which provides a Groovy friendly map-like abstraction for the 
`ResultSet` as shown here:
+Use the `eachRow` method if you want a slightly higher-level abstraction which 
provides a Groovy friendly map-like abstraction for the `ResultSet` as shown 
here:
 
 [source,groovy]
 .Reading data using `eachRow`



groovy git commit: Fix typo. (closes #598)

2017-09-07 Thread jwagenleitner
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X 24ddc6c2f -> 0eddf67ad


Fix typo. (closes #598)


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 0eddf67adef7f6a2febb0a6638515b952dc3f522
Parents: 24ddc6c
Author: Jose M. Alonso M 
Authored: Wed Sep 6 22:22:26 2017 +0200
Committer: John Wagenleitner 
Committed: Thu Sep 7 17:19:12 2017 -0700

--
 subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/0eddf67a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
--
diff --git a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc 
b/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
index fc50f15..31c1e34 100644
--- a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
+++ b/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
@@ -174,7 +174,7 @@ Use the `query` method if you want to iterate through the 
`ResultSet` returned b
 
include::{rootProjectDir}/subprojects/groovy-sql/src/spec/test/SqlTest.groovy[tags=sql_reading_query,indent=0]
 
 
-Use the `eachRow` method if you want if you want a slightly higher-level 
abstraction which provides a Groovy friendly map-like abstraction for the 
`ResultSet` as shown here:
+Use the `eachRow` method if you want a slightly higher-level abstraction which 
provides a Groovy friendly map-like abstraction for the `ResultSet` as shown 
here:
 
 [source,groovy]
 .Reading data using `eachRow`



groovy git commit: Fix typo. (closes #598)

2017-09-07 Thread jwagenleitner
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 0aa9ec3fd -> e9960604a


Fix typo. (closes #598)


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

Branch: refs/heads/GROOVY_2_6_X
Commit: e9960604aa4b59c1b5d0f5b3bc4ff1827eeae657
Parents: 0aa9ec3
Author: Jose M. Alonso M 
Authored: Wed Sep 6 22:22:26 2017 +0200
Committer: John Wagenleitner 
Committed: Thu Sep 7 17:18:14 2017 -0700

--
 subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/e9960604/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
--
diff --git a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc 
b/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
index fc50f15..31c1e34 100644
--- a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
+++ b/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
@@ -174,7 +174,7 @@ Use the `query` method if you want to iterate through the 
`ResultSet` returned b
 
include::{rootProjectDir}/subprojects/groovy-sql/src/spec/test/SqlTest.groovy[tags=sql_reading_query,indent=0]
 
 
-Use the `eachRow` method if you want if you want a slightly higher-level 
abstraction which provides a Groovy friendly map-like abstraction for the 
`ResultSet` as shown here:
+Use the `eachRow` method if you want a slightly higher-level abstraction which 
provides a Groovy friendly map-like abstraction for the `ResultSet` as shown 
here:
 
 [source,groovy]
 .Reading data using `eachRow`



groovy git commit: Fix typo. (closes #598)

2017-09-07 Thread jwagenleitner
Repository: groovy
Updated Branches:
  refs/heads/master 4b09236fd -> be385debc


Fix typo. (closes #598)


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

Branch: refs/heads/master
Commit: be385debc00769a37df0609c0e9af5b90bd418e3
Parents: 4b09236
Author: Jose M. Alonso M 
Authored: Wed Sep 6 22:22:26 2017 +0200
Committer: John Wagenleitner 
Committed: Thu Sep 7 17:16:05 2017 -0700

--
 subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/be385deb/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
--
diff --git a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc 
b/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
index fc50f15..31c1e34 100644
--- a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
+++ b/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
@@ -174,7 +174,7 @@ Use the `query` method if you want to iterate through the 
`ResultSet` returned b
 
include::{rootProjectDir}/subprojects/groovy-sql/src/spec/test/SqlTest.groovy[tags=sql_reading_query,indent=0]
 
 
-Use the `eachRow` method if you want if you want a slightly higher-level 
abstraction which provides a Groovy friendly map-like abstraction for the 
`ResultSet` as shown here:
+Use the `eachRow` method if you want a slightly higher-level abstraction which 
provides a Groovy friendly map-like abstraction for the `ResultSet` as shown 
here:
 
 [source,groovy]
 .Reading data using `eachRow`



[13/50] [abbrv] groovy git commit: fix typo - side effect: closes #485

2017-05-10 Thread paulk
fix typo - side effect: closes #485


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

Branch: refs/heads/parrot
Commit: ac6bf0a9abb40bcd42bb465673042bfbb16f51f5
Parents: 921f96d
Author: paulk 
Authored: Fri May 5 20:33:19 2017 +1000
Committer: paulk 
Committed: Thu May 11 08:06:12 2017 +1000

--
 config/checkstyle/checkstyle.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/ac6bf0a9/config/checkstyle/checkstyle.xml
--
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index 81e9bf6..34aebe1 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -152,7 +152,7 @@
 
 
 
-
+
 
 
 



groovy git commit: fix typo - side effect: closes #485

2017-05-05 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 2911c5847 -> 130893751


fix typo - side effect: closes #485


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 130893751fb61e30d23fd817b8b4a56e31954ef9
Parents: 2911c58
Author: paulk 
Authored: Fri May 5 20:33:19 2017 +1000
Committer: paulk 
Committed: Fri May 5 20:35:29 2017 +1000

--
 config/checkstyle/checkstyle.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/13089375/config/checkstyle/checkstyle.xml
--
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index 81e9bf6..34aebe1 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -152,7 +152,7 @@
 
 
 
-
+
 
 
 



groovy git commit: fix typo - side effect: closes #485

2017-05-05 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X 2d83ebd82 -> 9287bb1fc


fix typo - side effect: closes #485


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 9287bb1fc1c38776f5ce401802d93cd25527f6b8
Parents: 2d83ebd
Author: paulk 
Authored: Fri May 5 20:33:19 2017 +1000
Committer: paulk 
Committed: Fri May 5 20:34:57 2017 +1000

--
 config/checkstyle/checkstyle.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/9287bb1f/config/checkstyle/checkstyle.xml
--
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index 81e9bf6..34aebe1 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -152,7 +152,7 @@
 
 
 
-
+
 
 
 



groovy git commit: fix typo - side effect: closes #485

2017-05-05 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 52c1558ae -> b6c9230cd


fix typo - side effect: closes #485


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

Branch: refs/heads/GROOVY_2_6_X
Commit: b6c9230cd25fe1883250d39e25cb3f854009814e
Parents: 52c1558
Author: paulk 
Authored: Fri May 5 20:33:19 2017 +1000
Committer: paulk 
Committed: Fri May 5 20:34:29 2017 +1000

--
 config/checkstyle/checkstyle.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/b6c9230c/config/checkstyle/checkstyle.xml
--
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index 81e9bf6..34aebe1 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -152,7 +152,7 @@
 
 
 
-
+
 
 
 



groovy git commit: fix typo - side effect: closes #485

2017-05-05 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/master 01df7b53c -> e817651ad


fix typo - side effect: closes #485


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

Branch: refs/heads/master
Commit: e817651ad0a114c69a4bbaebc7d6780c3242ca88
Parents: 01df7b5
Author: paulk 
Authored: Fri May 5 20:33:19 2017 +1000
Committer: paulk 
Committed: Fri May 5 20:33:19 2017 +1000

--
 config/checkstyle/checkstyle.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/e817651a/config/checkstyle/checkstyle.xml
--
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index 81e9bf6..34aebe1 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -152,7 +152,7 @@
 
 
 
-
+
 
 
 



[32/50] [abbrv] groovy git commit: Fix typo

2017-04-07 Thread sunlan
Fix typo


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

Branch: refs/heads/parrot
Commit: 5e4c92ff7965f4922ca173919599317a2e01d2aa
Parents: 091a8b7
Author: John Wagenleitner 
Authored: Sun Mar 26 13:23:51 2017 -0700
Committer: John Wagenleitner 
Committed: Sun Mar 26 13:23:51 2017 -0700

--
 src/spec/doc/working-with-collections.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/5e4c92ff/src/spec/doc/working-with-collections.adoc
--
diff --git a/src/spec/doc/working-with-collections.adoc 
b/src/spec/doc/working-with-collections.adoc
index ace44ed..0153983 100644
--- a/src/spec/doc/working-with-collections.adoc
+++ b/src/spec/doc/working-with-collections.adoc
@@ -146,7 +146,7 @@ 
include::{projectdir}/src/spec/test/gdk/WorkingWithCollectionsTest.groovy[tags=l
 
 
 In case you only want to remove the first element having the same value in a 
list, instead of removing all
-elements, you call call the `remove` method passing the value:
+elements, you can call the `remove` method passing the value:
 
 [source,groovy]
 



[41/50] [abbrv] groovy git commit: fix typo in isOdd

2017-04-07 Thread sunlan
fix typo in isOdd


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

Branch: refs/heads/parrot
Commit: 062b0b1d1068891c2bea157d10f7ce6d8355dec3
Parents: b58da0f
Author: paulk 
Authored: Wed Mar 29 11:56:55 2017 +1000
Committer: paulk 
Committed: Wed Mar 29 11:57:49 2017 +1000

--
 src/spec/test/ClosuresSpecTest.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/062b0b1d/src/spec/test/ClosuresSpecTest.groovy
--
diff --git a/src/spec/test/ClosuresSpecTest.groovy 
b/src/spec/test/ClosuresSpecTest.groovy
index 3e82e1a..5276b67 100644
--- a/src/spec/test/ClosuresSpecTest.groovy
+++ b/src/spec/test/ClosuresSpecTest.groovy
@@ -82,7 +82,7 @@ class ClosuresSpecTest extends GroovyTestCase {
 // end::closure_call_1_explicit[]
 
 // tag::closure_call_2[]
-def isOdd = { int i-> i%2 == 1 }// <1>
+def isOdd = { int i -> i%2 != 0 }   // <1>
 assert isOdd(3) == true // <2>
 assert isOdd.call(2) == false   // <3>
 



groovy git commit: fix typo in isOdd

2017-03-28 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 1cb682745 -> 6b07f87f5


fix typo in isOdd


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 6b07f87f5976a013e3de21cb3d890ed8efe0e43a
Parents: 1cb6827
Author: paulk 
Authored: Wed Mar 29 11:56:55 2017 +1000
Committer: paulk 
Committed: Wed Mar 29 11:58:11 2017 +1000

--
 src/spec/test/ClosuresSpecTest.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/6b07f87f/src/spec/test/ClosuresSpecTest.groovy
--
diff --git a/src/spec/test/ClosuresSpecTest.groovy 
b/src/spec/test/ClosuresSpecTest.groovy
index 3e82e1a..5276b67 100644
--- a/src/spec/test/ClosuresSpecTest.groovy
+++ b/src/spec/test/ClosuresSpecTest.groovy
@@ -82,7 +82,7 @@ class ClosuresSpecTest extends GroovyTestCase {
 // end::closure_call_1_explicit[]
 
 // tag::closure_call_2[]
-def isOdd = { int i-> i%2 == 1 }// <1>
+def isOdd = { int i -> i%2 != 0 }   // <1>
 assert isOdd(3) == true // <2>
 assert isOdd.call(2) == false   // <3>
 



groovy git commit: fix typo in isOdd

2017-03-28 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/master b58da0fa9 -> 062b0b1d1


fix typo in isOdd


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

Branch: refs/heads/master
Commit: 062b0b1d1068891c2bea157d10f7ce6d8355dec3
Parents: b58da0f
Author: paulk 
Authored: Wed Mar 29 11:56:55 2017 +1000
Committer: paulk 
Committed: Wed Mar 29 11:57:49 2017 +1000

--
 src/spec/test/ClosuresSpecTest.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/062b0b1d/src/spec/test/ClosuresSpecTest.groovy
--
diff --git a/src/spec/test/ClosuresSpecTest.groovy 
b/src/spec/test/ClosuresSpecTest.groovy
index 3e82e1a..5276b67 100644
--- a/src/spec/test/ClosuresSpecTest.groovy
+++ b/src/spec/test/ClosuresSpecTest.groovy
@@ -82,7 +82,7 @@ class ClosuresSpecTest extends GroovyTestCase {
 // end::closure_call_1_explicit[]
 
 // tag::closure_call_2[]
-def isOdd = { int i-> i%2 == 1 }// <1>
+def isOdd = { int i -> i%2 != 0 }   // <1>
 assert isOdd(3) == true // <2>
 assert isOdd.call(2) == false   // <3>
 



groovy git commit: fix typo in isOdd

2017-03-28 Thread paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X bf1d32392 -> e18fa9c28


fix typo in isOdd


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

Branch: refs/heads/GROOVY_2_5_X
Commit: e18fa9c28928054ac2e4a908bf2fcde28357ecb7
Parents: bf1d323
Author: paulk 
Authored: Wed Mar 29 11:56:55 2017 +1000
Committer: paulk 
Committed: Wed Mar 29 11:56:55 2017 +1000

--
 src/spec/test/ClosuresSpecTest.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/e18fa9c2/src/spec/test/ClosuresSpecTest.groovy
--
diff --git a/src/spec/test/ClosuresSpecTest.groovy 
b/src/spec/test/ClosuresSpecTest.groovy
index 3e82e1a..5276b67 100644
--- a/src/spec/test/ClosuresSpecTest.groovy
+++ b/src/spec/test/ClosuresSpecTest.groovy
@@ -82,7 +82,7 @@ class ClosuresSpecTest extends GroovyTestCase {
 // end::closure_call_1_explicit[]
 
 // tag::closure_call_2[]
-def isOdd = { int i-> i%2 == 1 }// <1>
+def isOdd = { int i -> i%2 != 0 }   // <1>
 assert isOdd(3) == true // <2>
 assert isOdd.call(2) == false   // <3>
 



[1/4] groovy git commit: Fix typo

2017-03-26 Thread jwagenleitner
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X d00d9df90 -> 60d69b61a


Fix typo


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 60d69b61ae5b5a73be2f0ac6e5de94b0470f7b6a
Parents: 6555b7e
Author: John Wagenleitner 
Authored: Sun Mar 26 13:23:51 2017 -0700
Committer: John Wagenleitner 
Committed: Sun Mar 26 15:31:01 2017 -0700

--
 src/spec/doc/working-with-collections.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/60d69b61/src/spec/doc/working-with-collections.adoc
--
diff --git a/src/spec/doc/working-with-collections.adoc 
b/src/spec/doc/working-with-collections.adoc
index ace44ed..0153983 100644
--- a/src/spec/doc/working-with-collections.adoc
+++ b/src/spec/doc/working-with-collections.adoc
@@ -146,7 +146,7 @@ 
include::{projectdir}/src/spec/test/gdk/WorkingWithCollectionsTest.groovy[tags=l
 
 
 In case you only want to remove the first element having the same value in a 
list, instead of removing all
-elements, you call call the `remove` method passing the value:
+elements, you can call the `remove` method passing the value:
 
 [source,groovy]
 



[2/2] groovy git commit: Fix typo

2017-03-26 Thread jwagenleitner
Fix typo


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

Branch: refs/heads/master
Commit: 5e4c92ff7965f4922ca173919599317a2e01d2aa
Parents: 091a8b7
Author: John Wagenleitner 
Authored: Sun Mar 26 13:23:51 2017 -0700
Committer: John Wagenleitner 
Committed: Sun Mar 26 13:23:51 2017 -0700

--
 src/spec/doc/working-with-collections.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/5e4c92ff/src/spec/doc/working-with-collections.adoc
--
diff --git a/src/spec/doc/working-with-collections.adoc 
b/src/spec/doc/working-with-collections.adoc
index ace44ed..0153983 100644
--- a/src/spec/doc/working-with-collections.adoc
+++ b/src/spec/doc/working-with-collections.adoc
@@ -146,7 +146,7 @@ 
include::{projectdir}/src/spec/test/gdk/WorkingWithCollectionsTest.groovy[tags=l
 
 
 In case you only want to remove the first element having the same value in a 
list, instead of removing all
-elements, you call call the `remove` method passing the value:
+elements, you can call the `remove` method passing the value:
 
 [source,groovy]
 



[1/2] groovy git commit: Fix typo

2017-03-26 Thread jwagenleitner
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X e621ca7c4 -> 819165324


Fix typo


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 81916532448dd60aa2e6cf5d1d6c414b126a2dd6
Parents: 99aa761
Author: John Wagenleitner 
Authored: Sun Mar 26 13:23:51 2017 -0700
Committer: John Wagenleitner 
Committed: Sun Mar 26 13:43:56 2017 -0700

--
 src/spec/doc/working-with-collections.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/81916532/src/spec/doc/working-with-collections.adoc
--
diff --git a/src/spec/doc/working-with-collections.adoc 
b/src/spec/doc/working-with-collections.adoc
index ace44ed..0153983 100644
--- a/src/spec/doc/working-with-collections.adoc
+++ b/src/spec/doc/working-with-collections.adoc
@@ -146,7 +146,7 @@ 
include::{projectdir}/src/spec/test/gdk/WorkingWithCollectionsTest.groovy[tags=l
 
 
 In case you only want to remove the first element having the same value in a 
list, instead of removing all
-elements, you call call the `remove` method passing the value:
+elements, you can call the `remove` method passing the value:
 
 [source,groovy]
 



[3/7] groovy git commit: Fix typo

2015-12-11 Thread jwagenleitner
Fix typo


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 6917c57ee664876ff02d743cbb834befddc462f2
Parents: 4284a39
Author: John Wagenleitner 
Authored: Sun Dec 6 13:04:23 2015 -0800
Committer: John Wagenleitner 
Committed: Fri Dec 11 14:39:58 2015 -0800

--
 .../src/main/java/groovy/json/StreamingJsonBuilder.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/6917c57e/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java
--
diff --git 
a/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java 
b/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java
index b5a0133..5c8e10e 100644
--- 
a/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java
+++ 
b/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java
@@ -616,7 +616,7 @@ public class StreamingJsonBuilder extends 
GroovyObjectSupport {
 writeObject(writer, value, callable);
 }
 /**
- * Writes the name and another JSON boject
+ * Writes the name and another JSON object
  *
  * @param name The attribute name
  * @param value The value



[3/3] groovy git commit: Fix typo

2015-12-06 Thread jwagenleitner
Fix typo


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

Branch: refs/heads/master
Commit: c8325af0de605353d14835c82e67d637d9ccd538
Parents: f98e620
Author: John Wagenleitner 
Authored: Sun Dec 6 13:04:23 2015 -0800
Committer: John Wagenleitner 
Committed: Sun Dec 6 13:05:31 2015 -0800

--
 .../src/main/java/groovy/json/StreamingJsonBuilder.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/groovy/blob/c8325af0/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java
--
diff --git 
a/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java 
b/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java
index 30cacb1..058ae4a 100644
--- 
a/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java
+++ 
b/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java
@@ -616,7 +616,7 @@ public class StreamingJsonBuilder extends 
GroovyObjectSupport {
 writeObject(writer, value, callable);
 }
 /**
- * Writes the name and another JSON boject
+ * Writes the name and another JSON object
  *
  * @param name The attribute name
  * @param value The value