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:05:25 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 00cd43cf3 -> 5d9a2cddc


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/5d9a2cdd
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/5d9a2cdd
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/5d9a2cdd

Branch: refs/heads/GROOVY_2_4_X
Commit: 5d9a2cddcb75eadc63cde12cf054752efef76c11
Parents: 00cd43c
Author: sunlan <sunlan@apache.org>
Authored: Thu Nov 16 19:02:13 2017 +0800
Committer: sunlan <sunlan@apache.org>
Committed: Thu Nov 16 19:05:20 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/5d9a2cdd/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