Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X a1f246222 -> e736f558c


Minor refactoring

(cherry picked from commit e6bcb1b)


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

Branch: refs/heads/GROOVY_2_5_X
Commit: e736f558cbdc474e16a89fc5e5c2bff4c34f5fa4
Parents: a1f2462
Author: sunlan <[email protected]>
Authored: Thu Nov 16 19:02:13 2017 +0800
Committer: sunlan <[email protected]>
Committed: Thu Nov 16 19:04:34 2017 +0800

----------------------------------------------------------------------
 src/main/org/codehaus/groovy/ast/GenericsType.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/e736f558/src/main/org/codehaus/groovy/ast/GenericsType.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/ast/GenericsType.java 
b/src/main/org/codehaus/groovy/ast/GenericsType.java
index 3b8427a..c1be654 100644
--- a/src/main/org/codehaus/groovy/ast/GenericsType.java
+++ b/src/main/org/codehaus/groovy/ast/GenericsType.java
@@ -458,8 +458,7 @@ public class GenericsType extends ASTNode {
                     }
                 }
             }
-            if (!match) return false;
-            return true;
+            return match;
         }
     }
 

Reply via email to