mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
polish
This commit is contained in:
+4
-4
@@ -180,7 +180,7 @@ public class SimpleJdbcTemplate implements SimpleJdbcOperations {
|
||||
@SuppressWarnings("unchecked")
|
||||
@Deprecated
|
||||
public <T> T queryForObject(String sql, ParameterizedRowMapper<T> rm, Object... args) throws DataAccessException {
|
||||
return queryForObject(sql, (RowMapper<T>)rm, args);
|
||||
return queryForObject(sql, (RowMapper<T>) rm, args);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@@ -191,7 +191,7 @@ public class SimpleJdbcTemplate implements SimpleJdbcOperations {
|
||||
@SuppressWarnings("unchecked")
|
||||
@Deprecated
|
||||
public <T> List<T> query(String sql, ParameterizedRowMapper<T> rm, Map<String, Object> args) throws DataAccessException {
|
||||
return query(sql, (RowMapper<T>)rm, args);
|
||||
return query(sql, (RowMapper<T>) rm, args);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@@ -204,7 +204,7 @@ public class SimpleJdbcTemplate implements SimpleJdbcOperations {
|
||||
@Deprecated
|
||||
public <T> List<T> query(String sql, ParameterizedRowMapper<T> rm, SqlParameterSource args)
|
||||
throws DataAccessException {
|
||||
return query(sql, (RowMapper<T>)rm, args);
|
||||
return query(sql, (RowMapper<T>) rm, args);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@@ -217,7 +217,7 @@ public class SimpleJdbcTemplate implements SimpleJdbcOperations {
|
||||
@SuppressWarnings("unchecked")
|
||||
@Deprecated
|
||||
public <T> List<T> query(String sql, ParameterizedRowMapper<T> rm, Object... args) throws DataAccessException {
|
||||
return query(sql, (RowMapper<T>)rm, args);
|
||||
return query(sql, (RowMapper<T>) rm, args);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
Reference in New Issue
Block a user