diff options
author | Henri Sara <hesara@vaadin.com> | 2011-11-08 11:24:12 +0200 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2011-11-08 11:24:12 +0200 |
commit | a61302616430cbbfc97cbdbb85fe294842b3409c (patch) | |
tree | dcca942cdad8fc09680effc7269819faea75a6e1 /src/com/vaadin/data | |
parent | b2f5e652227dd4468622b092a8197afa8ee9b65f (diff) | |
download | vaadin-framework-a61302616430cbbfc97cbdbb85fe294842b3409c.tar.gz vaadin-framework-a61302616430cbbfc97cbdbb85fe294842b3409c.zip |
Eliminate more cases that used Property.toString().
Remaining possibly problematic cases include Label.compareTo(),
TestForPreconfiguredComponents and TestForTrees.
Diffstat (limited to 'src/com/vaadin/data')
-rw-r--r-- | src/com/vaadin/data/util/IndexedContainer.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/com/vaadin/data/util/IndexedContainer.java b/src/com/vaadin/data/util/IndexedContainer.java index c9499d4aa8..a6e03970cc 100644 --- a/src/com/vaadin/data/util/IndexedContainer.java +++ b/src/com/vaadin/data/util/IndexedContainer.java @@ -691,8 +691,8 @@ public class IndexedContainer extends /** * Gets the <code>String</code> representation of the contents of the * Item. The format of the string is a space separated catenation of the - * <code>String</code> representations of the Properties contained by - * the Item. + * <code>String</code> representations of the values of the Properties + * contained by the Item. * * @return <code>String</code> representation of the Item contents */ @@ -702,8 +702,7 @@ public class IndexedContainer extends for (final Iterator<?> i = propertyIds.iterator(); i.hasNext();) { final Object propertyId = i.next(); - // TODO do not use Property.toString() - retValue += getItemProperty(propertyId).toString(); + retValue += getItemProperty(propertyId).getValue(); if (i.hasNext()) { retValue += " "; } |