Repository: groovy Updated Branches: refs/heads/GROOVY_2_6_X 891366edd -> 19af0e05c
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/19af0e05 Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/19af0e05 Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/19af0e05 Branch: refs/heads/GROOVY_2_6_X Commit: 19af0e05c9b9dce17453a73ff21ec155c3fe241e Parents: 891366e Author: sunlan <sun...@apache.org> Authored: Thu Nov 16 19:02:13 2017 +0800 Committer: sunlan <sun...@apache.org> Committed: Thu Nov 16 19:03:23 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/19af0e05/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; } }