mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 12:19:16 +00:00
polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1422 50f2f4bb-b051-0410-bef5-90022cba6387
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