diff options
author | Artur Signell <artur.signell@itmill.com> | 2008-09-02 12:53:12 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2008-09-02 12:53:12 +0000 |
commit | 04ce8311762c5f3144a9e566df279bd0e2e774a8 (patch) | |
tree | 7fbe583bc53a1c02b2d01612aad73d6729d1a5d1 /src/com/itmill/toolkit/automatedtests | |
parent | e8e41a3dc6c2e4a4ce9bb500f0c0aab93b214bc3 (diff) | |
download | vaadin-framework-04ce8311762c5f3144a9e566df279bd0e2e774a8.tar.gz vaadin-framework-04ce8311762c5f3144a9e566df279bd0e2e774a8.zip |
Mass format
svn changeset:5331/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/automatedtests')
-rw-r--r-- | src/com/itmill/toolkit/automatedtests/featurebrowser/TableExample.java | 4 | ||||
-rw-r--r-- | src/com/itmill/toolkit/automatedtests/featurebrowser/TreeExample.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/com/itmill/toolkit/automatedtests/featurebrowser/TableExample.java b/src/com/itmill/toolkit/automatedtests/featurebrowser/TableExample.java index a53f024904..ddfe92acd7 100644 --- a/src/com/itmill/toolkit/automatedtests/featurebrowser/TableExample.java +++ b/src/com/itmill/toolkit/automatedtests/featurebrowser/TableExample.java @@ -234,13 +234,13 @@ public class TableExample extends CustomComponent implements Action.Handler, // loop each selected and copy to "saved" table
final Set selected = (Set) source.getValue();
int s = 0;
-
+
// The set can return the items in quite any order, but
// for testing purposes they always have to be in the
// same order.
List ordered = new LinkedList(selected);
java.util.Collections.sort(ordered);
-
+
// Now move the items to the other table
for (final Iterator it = ordered.iterator(); it.hasNext();) {
final Object id = it.next();
diff --git a/src/com/itmill/toolkit/automatedtests/featurebrowser/TreeExample.java b/src/com/itmill/toolkit/automatedtests/featurebrowser/TreeExample.java index f5c0bd5042..496af76842 100644 --- a/src/com/itmill/toolkit/automatedtests/featurebrowser/TreeExample.java +++ b/src/com/itmill/toolkit/automatedtests/featurebrowser/TreeExample.java @@ -139,9 +139,9 @@ public class TreeExample extends CustomComponent implements Action.Handler, * Helper to add an item with specified caption and (optional) parent. * * @param caption - * The item caption + * The item caption * @param parent - * The (optional) parent item id + * The (optional) parent item id * @return the created item's id */ private Object addCaptionedItem(String caption, Object parent) { |