Skip to content

Commit 7d2b3f2

Browse files
author
Thomas Risberg
committed
relaxed Map<String, Object> to Map<String, ?> for method parameter
1 parent 36e0005 commit 7d2b3f2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎org.springframework.jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcCall.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public Map<String, Object> execute(Object... args) {
165165
return doExecute(args);
166166
}
167167

168-
public Map<String, Object> execute(Map<String, Object> args) {
168+
public Map<String, Object> execute(Map<String, ?> args) {
169169
return doExecute(args);
170170
}
171171

‎org.springframework.jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcCallOperations.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public interface SimpleJdbcCallOperations {
164164
* @param args Map containing the parameter values to be used in the call.
165165
* @return map of output params.
166166
*/
167-
Map<String, Object> execute(Map<String, Object> args);
167+
Map<String, Object> execute(Map<String, ?> args);
168168

169169
/**
170170
* Execute the stored procedure and return a map of output params, keyed by name as in parameter declarations..

0 commit comments

Comments
 (0)