groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [groovy] branch GROOVY_3_0_X updated: Tweak method signature
Date Sat, 11 Jan 2020 18:05:03 GMT
This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
     new 2b04b18  Tweak method signature
2b04b18 is described below

commit 2b04b1855f2100ccd9192461b2c74b4155252b61
Author: Daniel Sun <sunlan@apache.org>
AuthorDate: Sun Jan 12 02:04:08 2020 +0800

    Tweak method signature
    
    (cherry picked from commit 6da58fbaefa222f2424b9ef9d35236d1e2f16283)
---
 src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java b/src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java
index 0b42ef6..0eb6fa4 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java
@@ -313,7 +313,7 @@ public class IndyInterface {
         );
     }
 
-    private static <T> T doWithCallSite(MutableCallSite callSite, Object[] arguments,
BiFunction<? super CacheableCallSite, ? super Object, T> f) {
+    private static <T> T doWithCallSite(MutableCallSite callSite, Object[] arguments,
BiFunction<? super CacheableCallSite, ? super Object, ? extends T> f) {
         if (callSite instanceof CacheableCallSite) {
             CacheableCallSite cacheableCallSite = (CacheableCallSite) callSite;
             Object receiver = arguments[0];


Mime
View raw message