Commit 63b8ccc7 authored by Phillip Webb's avatar Phillip Webb

Fix IterableConfigurationPropertySource javadoc

Fixes gh-12540
parent c66781a3
/* /*
* Copyright 2012-2017 the original author or authors. * Copyright 2012-2018 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -43,8 +43,7 @@ public interface IterableConfigurationPropertySource ...@@ -43,8 +43,7 @@ public interface IterableConfigurationPropertySource
/** /**
* Return an iterator for the {@link ConfigurationPropertyName names} managed by this * Return an iterator for the {@link ConfigurationPropertyName names} managed by this
* source. If it is not possible to determine the names an empty iterator may be * source.
* returned.
* @return an iterator (never {@code null}) * @return an iterator (never {@code null})
*/ */
@Override @Override
...@@ -54,8 +53,7 @@ public interface IterableConfigurationPropertySource ...@@ -54,8 +53,7 @@ public interface IterableConfigurationPropertySource
/** /**
* Returns a sequential {@code Stream} for the {@link ConfigurationPropertyName names} * Returns a sequential {@code Stream} for the {@link ConfigurationPropertyName names}
* managed by this source. If it is not possible to determine the names an * managed by this source.
* {@link Stream#empty() empty stream} may be returned.
* @return a stream of names (never {@code null}) * @return a stream of names (never {@code null})
*/ */
Stream<ConfigurationPropertyName> stream(); Stream<ConfigurationPropertyName> stream();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment