@@ -420,7 +420,7 @@ protected Connection createConnectionProxy(Connection con) {
420
420
}
421
421
422
422
@ Override
423
- public void execute (final String sql ) throws DataAccessException {
423
+ public void execute (String sql ) throws DataAccessException {
424
424
if (logger .isDebugEnabled ()) {
425
425
logger .debug ("Executing SQL statement [" + sql + "]" );
426
426
}
@@ -442,7 +442,7 @@ public String getSql() {
442
442
}
443
443
444
444
@ Override
445
- public <T > @ Nullable T query (final String sql , final ResultSetExtractor <T > rse ) throws DataAccessException {
445
+ public <T > @ Nullable T query (String sql , ResultSetExtractor <T > rse ) throws DataAccessException {
446
446
Assert .notNull (sql , "SQL must not be null" );
447
447
Assert .notNull (rse , "ResultSetExtractor must not be null" );
448
448
if (logger .isDebugEnabled ()) {
@@ -535,7 +535,7 @@ public SqlRowSet queryForRowSet(String sql) throws DataAccessException {
535
535
}
536
536
537
537
@ Override
538
- public int update (final String sql ) throws DataAccessException {
538
+ public int update (String sql ) throws DataAccessException {
539
539
Assert .notNull (sql , "SQL must not be null" );
540
540
if (logger .isDebugEnabled ()) {
541
541
logger .debug ("Executing SQL update [" + sql + "]" );
@@ -561,7 +561,7 @@ public String getSql() {
561
561
}
562
562
563
563
@ Override
564
- public int [] batchUpdate (final String ... sql ) throws DataAccessException {
564
+ public int [] batchUpdate (String ... sql ) throws DataAccessException {
565
565
Assert .notEmpty (sql , "SQL array must not be empty" );
566
566
if (logger .isDebugEnabled ()) {
567
567
logger .debug ("Executing SQL batch update of " + sql .length + " statements" );
@@ -701,7 +701,7 @@ private String appendSql(@Nullable String sql, String statement) {
701
701
* @throws DataAccessException if there is any problem
702
702
*/
703
703
public <T > @ Nullable T query (
704
- PreparedStatementCreator psc , final @ Nullable PreparedStatementSetter pss , final ResultSetExtractor <T > rse )
704
+ PreparedStatementCreator psc , @ Nullable PreparedStatementSetter pss , ResultSetExtractor <T > rse )
705
705
throws DataAccessException {
706
706
707
707
Assert .notNull (rse , "ResultSetExtractor must not be null" );
@@ -936,7 +936,7 @@ public SqlRowSet queryForRowSet(String sql, @Nullable Object @Nullable ... args)
936
936
return result (query (sql , newArgPreparedStatementSetter (args ), new SqlRowSetResultSetExtractor ()));
937
937
}
938
938
939
- protected int update (final PreparedStatementCreator psc , final @ Nullable PreparedStatementSetter pss )
939
+ protected int update (PreparedStatementCreator psc , @ Nullable PreparedStatementSetter pss )
940
940
throws DataAccessException {
941
941
942
942
logger .debug ("Executing prepared SQL update" );
@@ -966,7 +966,7 @@ public int update(PreparedStatementCreator psc) throws DataAccessException {
966
966
}
967
967
968
968
@ Override
969
- public int update (final PreparedStatementCreator psc , final KeyHolder generatedKeyHolder )
969
+ public int update (PreparedStatementCreator psc , KeyHolder generatedKeyHolder )
970
970
throws DataAccessException {
971
971
972
972
Assert .notNull (generatedKeyHolder , "KeyHolder must not be null" );
@@ -999,8 +999,8 @@ public int update(String sql, @Nullable Object @Nullable ... args) throws DataAc
999
999
}
1000
1000
1001
1001
@ Override
1002
- public int [] batchUpdate (final PreparedStatementCreator psc , final BatchPreparedStatementSetter pss ,
1003
- final KeyHolder generatedKeyHolder ) throws DataAccessException {
1002
+ public int [] batchUpdate (PreparedStatementCreator psc , BatchPreparedStatementSetter pss ,
1003
+ KeyHolder generatedKeyHolder ) throws DataAccessException {
1004
1004
1005
1005
int [] result = execute (psc , getPreparedStatementCallback (pss , generatedKeyHolder ));
1006
1006
@@ -1009,7 +1009,7 @@ public int[] batchUpdate(final PreparedStatementCreator psc, final BatchPrepared
1009
1009
}
1010
1010
1011
1011
@ Override
1012
- public int [] batchUpdate (String sql , final BatchPreparedStatementSetter pss ) throws DataAccessException {
1012
+ public int [] batchUpdate (String sql , BatchPreparedStatementSetter pss ) throws DataAccessException {
1013
1013
if (logger .isDebugEnabled ()) {
1014
1014
logger .debug ("Executing SQL batch update [" + sql + "]" );
1015
1015
}
@@ -1029,7 +1029,7 @@ public int[] batchUpdate(String sql, List<Object[]> batchArgs) throws DataAccess
1029
1029
}
1030
1030
1031
1031
@ Override
1032
- public int [] batchUpdate (String sql , List <Object []> batchArgs , final int [] argTypes ) throws DataAccessException {
1032
+ public int [] batchUpdate (String sql , List <Object []> batchArgs , int [] argTypes ) throws DataAccessException {
1033
1033
if (batchArgs .isEmpty ()) {
1034
1034
return new int [0 ];
1035
1035
}
@@ -1066,8 +1066,8 @@ public int getBatchSize() {
1066
1066
}
1067
1067
1068
1068
@ Override
1069
- public <T > int [][] batchUpdate (String sql , final Collection <T > batchArgs , final int batchSize ,
1070
- final ParameterizedPreparedStatementSetter <T > pss ) throws DataAccessException {
1069
+ public <T > int [][] batchUpdate (String sql , Collection <T > batchArgs , int batchSize ,
1070
+ ParameterizedPreparedStatementSetter <T > pss ) throws DataAccessException {
1071
1071
1072
1072
if (logger .isDebugEnabled ()) {
1073
1073
logger .debug ("Executing SQL batch update [" + sql + "] with a batch size of " + batchSize );
0 commit comments