Skip to content

Commit

Permalink
371 - clarify javadoc on config.getConfigSources
Browse files Browse the repository at this point in the history
Signed-off-by: Emily Jiang <[email protected]>
  • Loading branch information
Emily-Jiang committed Jul 23, 2020
1 parent adf90d7 commit 5605857
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,10 @@ default <T> Optional<List<T>> getOptionalValues(String propertyName, Class<T> pr

/**
* Return all of the currently registered {@linkplain ConfigSource configuration sources} for this configuration.
* <p>
* The returned sources will be sorted by descending ordinal value and name, which can be iterated in a thread-safe manner.
*
* The {@link java.util.Iterator Iterable} is not alterable and
* contains a fixed number of {@linkplain ConfigSource configuration sources}, which may be either static or dynamic.
* @return the configuration sources
*/
Iterable<ConfigSource> getConfigSources();
Expand Down

0 comments on commit 5605857

Please sign in to comment.