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 28
28
* Common {@link SqlValue} implementation for JDBC {@link Array} creation
29
29
* based on the JDBC 4 {@link java.sql.Connection#createArrayOf} method.
30
30
*
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.
32
33
*
33
34
* @author Juergen Hoeller
34
35
* @author Philippe Marschall
@@ -50,7 +51,7 @@ public class SqlArrayValue implements SqlValue {
50
51
* @param elements the elements to populate the {@code Array} object with
51
52
* @see java.sql.Connection#createArrayOf
52
53
*/
53
- public SqlArrayValue (String typeName , Object [] elements ) {
54
+ public SqlArrayValue (String typeName , Object ... elements ) {
54
55
Assert .notNull (typeName , "Type name must not be null" );
55
56
Assert .notNull (elements , "Elements array must not be null" );
56
57
this .typeName = typeName ;
You can’t perform that action at this time.
0 commit comments