We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d032c20 commit e3017c3Copy full SHA for e3017c3
spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/ResourceDatabasePopulator.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
@@ -81,7 +81,7 @@ public void addScript(Resource script) {
81
* Set the scripts to execute to populate the database.
82
* @param scripts the scripts to execute
83
*/
84
- public void setScripts(Resource[] scripts) {
+ public void setScripts(Resource... scripts) {
85
this.scripts = Arrays.asList(scripts);
86
}
87
0 commit comments