diff options
author | Petter Holmström <petter.holmstrom@itmill.com> | 2009-11-17 11:15:08 +0000 |
---|---|---|
committer | Petter Holmström <petter.holmstrom@itmill.com> | 2009-11-17 11:15:08 +0000 |
commit | 375baea875ff03d5d91229fa7446f9ebcb089082 (patch) | |
tree | 977d28d75adb96f4a5b27f935c5f62ba6259843e /src/com/vaadin/data/util/IndexedContainer.java | |
parent | 4023f7c379387e41a0a3486e0731884038b7bb3f (diff) | |
parent | 2772a7d63efa97318944413b0db8fe06c31cfaaa (diff) | |
download | vaadin-framework-375baea875ff03d5d91229fa7446f9ebcb089082.tar.gz vaadin-framework-375baea875ff03d5d91229fa7446f9ebcb089082.zip |
Merge with 6.2
svn changeset:9833/svn branch:portlet_2.0
Diffstat (limited to 'src/com/vaadin/data/util/IndexedContainer.java')
-rw-r--r-- | src/com/vaadin/data/util/IndexedContainer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/data/util/IndexedContainer.java b/src/com/vaadin/data/util/IndexedContainer.java index 296a1b0072..15c36953a1 100644 --- a/src/com/vaadin/data/util/IndexedContainer.java +++ b/src/com/vaadin/data/util/IndexedContainer.java @@ -681,7 +681,7 @@ public class IndexedContainer implements Container.Indexed, private Serializable generateId() { Serializable id; do { - id = new Integer(nextGeneratedItemId++); + id = Integer.valueOf(nextGeneratedItemId++); } while (items.containsKey(id)); return id; @@ -1387,7 +1387,7 @@ public class IndexedContainer implements Container.Indexed, for (int i = 0; i < propertyId.length; i++) { if (sortable.contains(propertyId[i])) { ids.add(propertyId[i]); - orders.add(new Boolean(i < ascending.length ? ascending[i] + orders.add(Boolean.valueOf(i < ascending.length ? ascending[i] : true)); } } |