relaxed Map<String, Object> to Map<String, ?> for method parameter

This commit is contained in:
Thomas Risberg 2009-11-10 23:14:54 +00:00
parent 36e00054b6
commit 7d2b3f2e7e
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ public class SimpleJdbcCall extends AbstractJdbcCall implements SimpleJdbcCallOp
return doExecute(args); return doExecute(args);
} }
public Map<String, Object> execute(Map<String, Object> args) { public Map<String, Object> execute(Map<String, ?> args) {
return doExecute(args); return doExecute(args);
} }

View File

@ -164,7 +164,7 @@ public interface SimpleJdbcCallOperations {
* @param args Map containing the parameter values to be used in the call. * @param args Map containing the parameter values to be used in the call.
* @return map of output params. * @return map of output params.
*/ */
Map<String, Object> execute(Map<String, Object> args); Map<String, Object> execute(Map<String, ?> args);
/** /**
* Execute the stored procedure and return a map of output params, keyed by name as in parameter declarations.. * Execute the stored procedure and return a map of output params, keyed by name as in parameter declarations..