]> source.dussan.org Git - vaadin-framework.git/commitdiff
minor javadoc fix
authorArtur Signell <artur.signell@itmill.com>
Tue, 25 May 2010 13:14:23 +0000 (13:14 +0000)
committerArtur Signell <artur.signell@itmill.com>
Tue, 25 May 2010 13:14:23 +0000 (13:14 +0000)
svn changeset:13358/svn branch:6.4

src/com/vaadin/data/util/DefaultItemSorter.java

index 1e83715ace13018b24e51e156490e8d18859fb51..a2ecd38ef821692be10a696e56875754dae887b5 100644 (file)
@@ -113,7 +113,10 @@ public class DefaultItemSorter implements ItemSorter {
      *            The first item to compare.
      * @param item2
      *            The second item to compare.
-     * @return
+     * @return a negative, zero, or positive integer if the property value in
+     *         the first item is less than, equal to, or greater than the
+     *         property value in the second item. Negated if {@code
+     *         sortDirection} is false.
      */
     protected int compareProperty(Object propertyId, boolean sortDirection,
             Item item1, Item item2) {