From 9ce25bc5e4de032711d7aca112271e2d3bebc158 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 11 May 2011 20:09:08 +0000 Subject: [PATCH] polishing git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4291 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../springframework/core/env/MutablePropertySources.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/org.springframework.core/src/main/java/org/springframework/core/env/MutablePropertySources.java b/org.springframework.core/src/main/java/org/springframework/core/env/MutablePropertySources.java index a0a8ff1c803..c24e6267f4a 100644 --- a/org.springframework.core/src/main/java/org/springframework/core/env/MutablePropertySources.java +++ b/org.springframework.core/src/main/java/org/springframework/core/env/MutablePropertySources.java @@ -23,8 +23,8 @@ import org.springframework.util.Assert; /** * Default implementation of the {@link PropertySources} interface. - * Allows manipulation of contained property sources and provides constructor - * to copying an existing {@code PropertySources} instance. + * Allows manipulation of contained property sources and provides a constructor + * for copying an existing {@code PropertySources} instance. * *

Where precedence is mentioned in methods such as {@link #addFirst} * and {@link #addLast}, this is with regard to the order in which property sources @@ -41,7 +41,6 @@ public class MutablePropertySources implements PropertySources { private final LinkedList> propertySourceList = new LinkedList>(); - /** * Create a new {@link MutablePropertySources} object. */ @@ -105,7 +104,7 @@ public class MutablePropertySources implements PropertySources { assertLegalRelativeAddition(relativePropertySourceName, propertySource); removeIfPresent(propertySource); int index = assertPresentAndGetIndex(relativePropertySourceName); - addAtIndex(index+1, propertySource); + addAtIndex(index + 1, propertySource); } /**