From 84521fa4b432ca8107a030a6bebfdf484bbee35a Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 11 Nov 2013 16:41:16 +0200 Subject: [PATCH] Use correct type for UIDL value to avoid development mode problems (#12545) Change-Id: Ib183e352fa64cb5c8f4d499ecb194768b18a16d6 --- client/src/com/vaadin/client/ui/VScrollTable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/com/vaadin/client/ui/VScrollTable.java b/client/src/com/vaadin/client/ui/VScrollTable.java index 48fd85144f..d1d73f4e91 100644 --- a/client/src/com/vaadin/client/ui/VScrollTable.java +++ b/client/src/com/vaadin/client/ui/VScrollTable.java @@ -4232,8 +4232,8 @@ public class VScrollTable extends FlowPanel implements HasWidgets, // Already updated by setColWidth called from // TableHeads.updateCellsFromUIDL in case of a server // side resize - final String width = col.getStringAttribute("width"); - c.setWidth(Integer.parseInt(width), true); + final int width = col.getIntAttribute("width"); + c.setWidth(width, true); } } else if (recalcWidths) { c.setUndefinedWidth(); -- 2.39.5