Skip to content

Commit e3017c3

Browse files
committed
ResourceDatabasePopulator's setScripts takes varargs
1 parent d032c20 commit e3017c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/ResourceDatabasePopulator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2013 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -81,7 +81,7 @@ public void addScript(Resource script) {
8181
* Set the scripts to execute to populate the database.
8282
* @param scripts the scripts to execute
8383
*/
84-
public void setScripts(Resource[] scripts) {
84+
public void setScripts(Resource... scripts) {
8585
this.scripts = Arrays.asList(scripts);
8686
}
8787

0 commit comments

Comments
 (0)