diff options
author | Pekka Hyvönen <pekka@vaadin.com> | 2016-09-13 15:44:40 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-09-13 13:17:04 +0000 |
commit | d0435d5f02f93e3f5123ae54216d0062054cbe90 (patch) | |
tree | e19b9fc7bbc480eed16867cd3275211bcc411f82 /server/src/main/java | |
parent | fa32798f140d6f90a064f5fa55f47aee3a4a413f (diff) | |
download | vaadin-framework-d0435d5f02f93e3f5123ae54216d0062054cbe90.tar.gz vaadin-framework-d0435d5f02f93e3f5123ae54216d0062054cbe90.zip |
Fix invalid javadoc in ListDataSource
Change-Id: I71e808554d10657ead61271c1c5cc76981214ee3
Diffstat (limited to 'server/src/main/java')
-rw-r--r-- | server/src/main/java/com/vaadin/server/data/ListDataSource.java | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/server/src/main/java/com/vaadin/server/data/ListDataSource.java b/server/src/main/java/com/vaadin/server/data/ListDataSource.java index f3ecc771ec..ecac378182 100644 --- a/server/src/main/java/com/vaadin/server/data/ListDataSource.java +++ b/server/src/main/java/com/vaadin/server/data/ListDataSource.java @@ -67,7 +67,10 @@ public class ListDataSource<T> implements DataSource<T> { } /** - * Sets a default sorting order to the data source. + * Creates a new list data source based on this list data source with the + * given sort order. + * <p> + * <b>NOTE</b>: this data source is not modified in any way. * * @param sortOrder * a {@link Comparator} providing the needed sorting order @@ -78,8 +81,13 @@ public class ListDataSource<T> implements DataSource<T> { } /** - * Sets a default sorting order to the data source. This method is a - * short-hand for {@code sortingBy(Comparator.comparing(sortOrder))}. + * Creates a new list data source based on this list data source with the + * given sort order. + * <p> + * <b>NOTE</b>: this data source is not modified in any way. + * <p> + * This method is a short-hand for + * {@code sortingBy(Comparator.comparing(sortOrder))}. * * @param sortOrder * function to sort by |