Skip to content

Commit

Permalink
Polish Javadoc for MutablePropertySources
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Aug 2, 2014
1 parent 154cf5d commit 6cfe76e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -66,7 +66,7 @@ public MutablePropertySources(PropertySources propertySources) {
}

/**
* Create a new {@link MutablePropertySources} object and inheriting the given logger,
* Create a new {@link MutablePropertySources} object and inherit the given logger,
* usually from an enclosing {@link Environment}.
*/
MutablePropertySources(Log logger) {
Expand Down Expand Up @@ -130,7 +130,7 @@ public void addBefore(String relativePropertySourceName, PropertySource<?> prope
}

/**
* Add the given property source object with precedence immediately lower than
* Add the given property source object with precedence immediately lower
* than the named relative property source.
*/
public void addAfter(String relativePropertySourceName, PropertySource<?> propertySource) {
Expand Down Expand Up @@ -205,7 +205,7 @@ protected void assertLegalRelativeAddition(String relativePropertySourceName, Pr
}

/**
* Log the removal of the given propertySource if it is present.
* Remove the given property source if it is present.
*/
protected void removeIfPresent(PropertySource<?> propertySource) {
if (this.propertySourceList.contains(propertySource)) {
Expand Down

0 comments on commit 6cfe76e

Please sign in to comment.