groovy git commit: Refine generics type to fix compilation error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

groovy git commit: Refine generics type to fix compilation error

Daniel.Sun
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 17fe44d78 -> bdc32b56c


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

Branch: refs/heads/GROOVY_2_6_X
Commit: bdc32b56ca9523f78c7ac90347713533b17db3a2
Parents: 17fe44d
Author: danielsun1106 <[hidden email]>
Authored: Sat Mar 10 03:30:09 2018 +0800
Committer: danielsun1106 <[hidden email]>
Committed: Sat Mar 10 03:30:09 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/bdc32b56/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..1c8dda9 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.of(
         byte.class, Byte.class,
         boolean.class, Boolean.class,
         char.class, Character.class,

Daniel Sun
Apache Groovy committer

Blog: http://blog.sunlan.me
Twitter: @daniel_sun