Skip to content

Commit 1dac0df

Browse files
sjh836sbrannen
authored andcommitted
Prevent instantiation of NamedParameterBatchUpdateUtils
In order to prevent instantiation of utility classes, this commit makes NamedParameterBatchUpdateUtils `abstract`. Issue: SPR-17215
1 parent 7dba79c commit 1dac0df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/NamedParameterBatchUpdateUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @author Thomas Risberg
3131
* @since 3.0
3232
*/
33-
public class NamedParameterBatchUpdateUtils extends BatchUpdateUtils {
33+
public abstract class NamedParameterBatchUpdateUtils extends BatchUpdateUtils {
3434

3535
public static int[] executeBatchUpdateWithNamedParameters(final ParsedSql parsedSql,
3636
final SqlParameterSource[] batchArgs, JdbcOperations jdbcOperations) {

0 commit comments

Comments
 (0)