diff options
author | Matti Tahvonen <matti@vaadin.com> | 2017-01-18 15:14:16 +0200 |
---|---|---|
committer | Leif Åstrand <legioth@gmail.com> | 2017-01-18 15:14:16 +0200 |
commit | c99a911278fcf058679aefc841c25a3cdf59d74a (patch) | |
tree | 71a7d606acbe665e7802da7e1cdb1dfe7e63a444 | |
parent | 038f95e1fbcb32d6621a993432ef071ce1d36673 (diff) | |
download | vaadin-framework-c99a911278fcf058679aefc841c25a3cdf59d74a.tar.gz vaadin-framework-c99a911278fcf058679aefc841c25a3cdf59d74a.zip |
Simplified javadoc (#8272)
* Simplified javadoc
-rw-r--r-- | server/src/main/java/com/vaadin/data/HasItems.java | 11 |
1 files 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<T> extends Component, Serializable { /** * Sets the data items of this listing provided as a stream. * <p> - * This is just a shorthand for {@link #setItems(Collection)}, by - * <b>collecting all the items in the stream to a list</b>. - * <p> - * <strong>Using big streams is not recommended, you should instead use a - * lazy data provider.</strong> See {@link BackEndDataProvider} for more - * info. + * This is just a shorthand for {@link #setItems(Collection)}, that + * <b>collects objects in the stream to a list</b>. 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} |