From c99a911278fcf058679aefc841c25a3cdf59d74a Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Wed, 18 Jan 2017 15:14:16 +0200 Subject: [PATCH] Simplified javadoc (#8272) * Simplified javadoc --- server/src/main/java/com/vaadin/data/HasItems.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/server/src/main/java/com/vaadin/data/HasItems.java b/server/src/main/java/com/vaadin/data/HasItems.java index 22023d55b2..16ae8a2d25 100644 --- a/server/src/main/java/com/vaadin/data/HasItems.java +++ b/server/src/main/java/com/vaadin/data/HasItems.java @@ -60,12 +60,11 @@ public interface HasItems extends Component, Serializable { /** * Sets the data items of this listing provided as a stream. *

- * This is just a shorthand for {@link #setItems(Collection)}, by - * collecting all the items in the stream to a list. - *

- * Using big streams is not recommended, you should instead use a - * lazy data provider. See {@link BackEndDataProvider} for more - * info. + * This is just a shorthand for {@link #setItems(Collection)}, that + * collects objects in the stream to a list. Thus, using this method, + * instead of its array and Collection variations, doesn't save any memory. + * If you have a large data set to bind, using a lazy data provider is + * recommended. See {@link BackEndDataProvider} for more info. * * @param streamOfItems * the stream of data items to display, not {@code null} -- 2.39.5