Browse Source

Polish Javadoc for PropertySource implementations

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3868 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Chris Beams 15 years ago
parent
commit
6364c02427
  1. 6
      org.springframework.core/src/main/java/org/springframework/core/env/MapPropertySource.java
  2. 4
      org.springframework.core/src/main/java/org/springframework/core/env/MutablePropertySources.java

6
org.springframework.core/src/main/java/org/springframework/core/env/MapPropertySource.java vendored

@ -19,15 +19,15 @@ package org.springframework.core.env;
import java.util.Map; import java.util.Map;
/** /**
* {@link PropertySource} that reads keys and values from a {@code Map<String,String>} object. * {@link PropertySource} that reads keys and values from a {@code Map} object.
* *
* @author Chris Beams * @author Chris Beams
* @since 3.1 * @since 3.1
* @see PropertiesPropertySource * @see PropertiesPropertySource
*/ */
public class MapPropertySource extends EnumerablePropertySource<Map<String, ? super Object>> { public class MapPropertySource extends EnumerablePropertySource<Map<String, Object>> {
protected MapPropertySource(String name, Map<String, ? super Object> source) { protected MapPropertySource(String name, Map<String, Object> source) {
super(name, source); super(name, source);
} }

4
org.springframework.core/src/main/java/org/springframework/core/env/MutablePropertySources.java vendored

@ -87,7 +87,7 @@ public class MutablePropertySources implements PropertySources {
} }
/** /**
* Add the given property source object with precedence immediately greater * Add the given property source object with precedence immediately higher
* than the named relative property source. * than the named relative property source.
*/ */
public void addBefore(String relativePropertySourceName, PropertySource<?> propertySource) { public void addBefore(String relativePropertySourceName, PropertySource<?> propertySource) {
@ -98,7 +98,7 @@ public class MutablePropertySources implements PropertySources {
} }
/** /**
* Add the given property source object with precedence immediately less than * Add the given property source object with precedence immediately lower than
* than the named relative property source. * than the named relative property source.
*/ */
public void addAfter(String relativePropertySourceName, PropertySource<?> propertySource) { public void addAfter(String relativePropertySourceName, PropertySource<?> propertySource) {

Loading…
Cancel
Save