summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tickets/Ticket1245.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-09-24 16:19:41 +0300
committerArtur Signell <artur@vaadin.com>2012-10-23 14:42:57 +0300
commit0121af0c28d92db37dea94050f3453ecf46556b9 (patch)
treeba8397bcfbf5747708f040fee76a6dd5cb8bc515 /uitest/src/com/vaadin/tests/tickets/Ticket1245.java
parentce0640100a3892a1e36d25df1b85de73b6e2d1d0 (diff)
downloadvaadin-framework-0121af0c28d92db37dea94050f3453ecf46556b9.tar.gz
vaadin-framework-0121af0c28d92db37dea94050f3453ecf46556b9.zip
Changed Property.setValue(Object) to setValue(T) (#8791)
Change-Id: I9f0e6bd62102c5adc461884b1f3b2cbe69f19259
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket1245.java')
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1245.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1245.java b/uitest/src/com/vaadin/tests/tickets/Ticket1245.java
index eba9514241..4b7c5705ac 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1245.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1245.java
@@ -80,9 +80,7 @@ class TreeExample extends CustomComponent {
// get the created item
final Item item = tree.getItem(id);
// set our "caption" property
- @SuppressWarnings("unchecked")
- final Property<String> p = (Property<String>) item
- .getItemProperty(CAPTION_PROPERTY);
+ final Property<String> p = item.getItemProperty(CAPTION_PROPERTY);
p.setValue(caption);
if (parent != null) {
tree.setChildrenAllowed(parent, true);