groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject groovy git commit: Refine generics type to fix compilation error
Date Fri, 09 Mar 2018 19:39:07 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X 1ad74d610 -> 92c3e4492


Refine generics type to fix compilation error


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 92c3e4492891f6ac79c989e2845613702b700230
Parents: 1ad74d6
Author: danielsun1106 <realbluesun@hotmail.com>
Authored: Sat Mar 10 03:34:51 2018 +0800
Committer: danielsun1106 <realbluesun@hotmail.com>
Committed: Sat Mar 10 03:38:55 2018 +0800

----------------------------------------------------------------------
 src/main/java/org/codehaus/groovy/classgen/asm/util/TypeUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/92c3e449/src/main/java/org/codehaus/groovy/classgen/asm/util/TypeUtil.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/codehaus/groovy/classgen/asm/util/TypeUtil.java b/src/main/java/org/codehaus/groovy/classgen/asm/util/TypeUtil.java
index 9b79858..cae9bfa 100644
--- a/src/main/java/org/codehaus/groovy/classgen/asm/util/TypeUtil.java
+++ b/src/main/java/org/codehaus/groovy/classgen/asm/util/TypeUtil.java
@@ -203,7 +203,7 @@ public abstract class TypeUtil {
             Type.SHORT_TYPE, "java/lang/Short"
     );
 
-    private static final Map<Class, Class> PRIMITIVE_TYPE_TO_WRAPPED_CLASS_MAP = Maps.of(
+    private static final Map<Class<?>, Class<?>> PRIMITIVE_TYPE_TO_WRAPPED_CLASS_MAP
= Maps.<Class<?>, Class<?>>of(
         byte.class, Byte.class,
         boolean.class, Boolean.class,
         char.class, Character.class,


Mime
View raw message