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:04:40 GMT
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 <sunlan@apache.org>
Authored: Thu Nov 16 19:02:13 2017 +0800
Committer: sunlan <sunlan@apache.org>
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;
         }
     }
 


Mime
View raw message