You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2020/04/11 12:42:12 UTC
[groovy] branch master updated: Trivial refactoring: Simplify type
argument
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 3372075 Trivial refactoring: Simplify type argument
3372075 is described below
commit 33720755464a83b2e124984b44897a649c31342a
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat Apr 11 20:40:55 2020 +0800
Trivial refactoring: Simplify type argument
---
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java b/src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java
index 384703c..12e6653 100644
--- a/src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java
+++ b/src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java
@@ -610,7 +610,7 @@ public class GeneralUtils {
return new ListExpression(args);
}
- public static ListExpression list2args(final List<? extends Object> args) {
+ public static ListExpression list2args(final List<?> args) {
ListExpression result = new ListExpression();
for (Object o : args) {
result.addExpression(constX(o));