Polishing

This commit is contained in:
Juergen Hoeller
2018-09-15 00:17:17 +02:00
parent db8e9eafb2
commit 8e83f140d4
2 changed files with 7 additions and 6 deletions

View File

@@ -157,7 +157,7 @@ public interface ObjectProvider<T> extends ObjectFactory<T>, Iterable<T> {
* @see #orderedStream()
*/
default Stream<T> stream() {
throw new UnsupportedOperationException("Multi-element access not supported");
throw new UnsupportedOperationException("Multi element access not supported");
}
/**
@@ -173,7 +173,7 @@ public interface ObjectProvider<T> extends ObjectFactory<T>, Iterable<T> {
* @see org.springframework.core.OrderComparator
*/
default Stream<T> orderedStream() {
throw new UnsupportedOperationException("Multi-element access not supported");
throw new UnsupportedOperationException("Ordered element access not supported");
}
}