mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 00:39:01 +00:00
Polishing
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user