Skip to content

Commit 63b8ccc

Browse files
committed
Fix IterableConfigurationPropertySource javadoc
Fixes gh-12540
1 parent c66781a commit 63b8ccc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/source/IterableConfigurationPropertySource.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -43,8 +43,7 @@ public interface IterableConfigurationPropertySource
4343

4444
/**
4545
* Return an iterator for the {@link ConfigurationPropertyName names} managed by this
46-
* source. If it is not possible to determine the names an empty iterator may be
47-
* returned.
46+
* source.
4847
* @return an iterator (never {@code null})
4948
*/
5049
@Override
@@ -54,8 +53,7 @@ default Iterator<ConfigurationPropertyName> iterator() {
5453

5554
/**
5655
* Returns a sequential {@code Stream} for the {@link ConfigurationPropertyName names}
57-
* managed by this source. If it is not possible to determine the names an
58-
* {@link Stream#empty() empty stream} may be returned.
56+
* managed by this source.
5957
* @return a stream of names (never {@code null})
6058
*/
6159
Stream<ConfigurationPropertyName> stream();

0 commit comments

Comments
 (0)