groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwagenleit...@apache.org
Subject [3/3] groovy git commit: refactor: remove invalid comment
Date Sun, 06 Aug 2017 04:05:08 GMT
refactor: remove invalid comment

Comment refers to code that has since been changed and is no longer valid.


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 2d778cead8aa4ccc18a5043183ece95a3910acbd
Parents: f08026b
Author: John Wagenleitner <jwagenleitner@apache.org>
Authored: Sat Aug 5 10:24:45 2017 -0700
Committer: John Wagenleitner <jwagenleitner@apache.org>
Committed: Sat Aug 5 21:04:29 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/2d778cea/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 3494b33..3b8427a 100644
--- a/src/main/org/codehaus/groovy/ast/GenericsType.java
+++ b/src/main/org/codehaus/groovy/ast/GenericsType.java
@@ -377,8 +377,6 @@ public class GenericsType extends ASTNode {
             for (int i = 0; redirectBoundGenericTypes!=null && i < redirectBoundGenericTypes.length
&& match; i++) {
                 GenericsType redirectBoundType = redirectBoundGenericTypes[i];
                 GenericsType classNodeType = cnTypes[i];
-                // The following code has been commented out because it causes GROOVY-5415
-                // However, commenting doesn't make any test fail, which is curious...
                 if (classNodeType.isPlaceholder()) {
                     String name = classNodeType.getName();
                     if (redirectBoundType.isPlaceholder()) {


Mime
View raw message