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 2016/02/05 02:21:11 UTC

[5/7] groovy git commit: remove negation from javadoc: findAll does whitelisting instead of blacklisting

remove negation from javadoc: findAll does whitelisting instead of blacklisting


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

Branch: refs/heads/master
Commit: 039b3e567dd65c63fe702dda54150e5393d8ffd4
Parents: 2466863
Author: oreissig <or...@gmail.com>
Authored: Thu Feb 4 21:22:43 2016 +0100
Committer: paulk <pa...@asert.com.au>
Committed: Fri Feb 5 11:20:33 2016 +1000

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/039b3e56/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java b/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
index 21c3ae3..bc149ba 100644
--- a/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
+++ b/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
@@ -4410,7 +4410,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport {
      * to the specified closure condition.
      *
      * See also <code>findAll</code> and <code>grep</code> when wanting to produce a new list
-     * containing items which don't match some criteria while leaving the original collection unchanged.
+     * containing items which match some criteria but leaving the original collection unchanged.
      *
      * @param  self a Collection to be modified
      * @param  condition a closure condition
@@ -4443,7 +4443,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport {
      * assert map == [a:1]</pre>
      *
      * See also <code>findAll</code> when wanting to produce a new map containing items
-     * which don't match some criteria while leaving the original map unchanged.
+     * which match some criteria but leaving the original map unchanged.
      *
      * @param self a Map to be modified
      * @param condition a 1 or 2 arg Closure condition applying on the entries