Polish Javadoc for PropertySource implementations

This commit is contained in:
Chris Beams 2011-01-06 07:43:03 +00:00
parent 01c98c3bfb
commit a7704c8cce
2 changed files with 5 additions and 5 deletions

View File

@ -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);
} }

View File

@ -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) {