Closed
Description
Michael Isvy opened SPR-6849 and commented
Currently the syntax for those constructors is a little verbose:
new ClassPathXmlApplicationContext(new String[] {
"com/acme/dao/dao-config.xml", "com/acme/service/service-config.xml"} );
Now that Spring 3.0 uses Java 5+ syntax, it would be simpler if we could take advantage of varags as follows:
new ClassPathXmlApplicationContext("com/acme/dao/dao-config.xml", "com/acme/service/service-config.xml");
Affects: 3.0 GA
Referenced from: commits 60ac239