use varargs for scan method as well
This commit is contained in:
parent
95ddeff17d
commit
e65ba99e23
|
|
@ -114,7 +114,7 @@ public class AnnotationConfigApplicationContext extends GenericApplicationContex
|
||||||
* Perform a scan within the specified base packages.
|
* Perform a scan within the specified base packages.
|
||||||
* @param basePackages the packages to check for annotated classes
|
* @param basePackages the packages to check for annotated classes
|
||||||
*/
|
*/
|
||||||
public void scan(String[] basePackages) {
|
public void scan(String... basePackages) {
|
||||||
this.scanner.scan(basePackages);
|
this.scanner.scan(basePackages);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue