Polishing

This commit is contained in:
Juergen Hoeller
2017-09-27 01:46:16 +02:00
parent 9fdc4404a5
commit 5f167fd7f8
8 changed files with 31 additions and 27 deletions

View File

@@ -89,14 +89,14 @@ public class KeyNamingStrategy implements ObjectNamingStrategy, InitializingBean
* containing object name mappings.
*/
public void setMappingLocation(Resource location) {
this.mappingLocations = new Resource[]{location};
this.mappingLocations = new Resource[] {location};
}
/**
* Set location of properties files to be loaded,
* containing object name mappings.
*/
public void setMappingLocations(Resource[] mappingLocations) {
public void setMappingLocations(Resource... mappingLocations) {
this.mappingLocations = mappingLocations;
}