summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2011-12-16 09:28:06 +0200
committerArtur Signell <artur@vaadin.com>2011-12-16 09:28:06 +0200
commit8765944796642bf3cd9f37ecfbd430c72a0c531d (patch)
tree82f96e8b84bed0110c976142261a434bba3424fb /tests
parentb0398e876695be532d9d0edc8764f622ed56c837 (diff)
downloadvaadin-framework-8765944796642bf3cd9f37ecfbd430c72a0c531d.tar.gz
vaadin-framework-8765944796642bf3cd9f37ecfbd430c72a0c531d.zip
Nicer toString()
Diffstat (limited to 'tests')
-rw-r--r--tests/server-side/com/vaadin/tests/data/bean/Sex.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/server-side/com/vaadin/tests/data/bean/Sex.java b/tests/server-side/com/vaadin/tests/data/bean/Sex.java
index 9fd23d65c9..cce0dfad53 100644
--- a/tests/server-side/com/vaadin/tests/data/bean/Sex.java
+++ b/tests/server-side/com/vaadin/tests/data/bean/Sex.java
@@ -12,4 +12,9 @@ public enum Sex {
public String getStringRepresentation() {
return stringRepresentation;
}
+
+ @Override
+ public String toString() {
+ return getStringRepresentation();
+ }
}