File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
spring-jdbc/src/main/java/org/springframework/jdbc/support Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2828 * Common {@link SqlValue} implementation for JDBC {@link Array} creation
2929 * based on the JDBC 4 {@link java.sql.Connection#createArrayOf} method.
3030 *
31- * <p>Also serves as a template for custom {@link SqlValue} implementations.
31+ * <p>Also serves as a template for custom {@link SqlValue} implementations
32+ * with cleanup demand.
3233 *
3334 * @author Juergen Hoeller
3435 * @author Philippe Marschall
@@ -50,7 +51,7 @@ public class SqlArrayValue implements SqlValue {
5051 * @param elements the elements to populate the {@code Array} object with
5152 * @see java.sql.Connection#createArrayOf
5253 */
53- public SqlArrayValue (String typeName , Object [] elements ) {
54+ public SqlArrayValue (String typeName , Object ... elements ) {
5455 Assert .notNull (typeName , "Type name must not be null" );
5556 Assert .notNull (elements , "Elements array must not be null" );
5657 this .typeName = typeName ;
You can’t perform that action at this time.
0 commit comments