groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject groovy git commit: Minor refactoring
Date Thu, 16 Nov 2017 11:02:24 GMT
Repository: groovy
Updated Branches:
  refs/heads/master c24796add -> e6bcb1b7b


Minor refactoring


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

Branch: refs/heads/master
Commit: e6bcb1b7bc5664fa52f930f492e3db32e9c37492
Parents: c24796a
Author: sunlan <sunlan@apache.org>
Authored: Thu Nov 16 19:02:13 2017 +0800
Committer: sunlan <sunlan@apache.org>
Committed: Thu Nov 16 19:02:13 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/e6bcb1b7/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;
         }
     }
 


Mime
View raw message