diff options
author | Taras Hupalo <taras.hupalo@gmail.com> | 2014-08-12 15:28:41 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2014-08-26 09:51:15 +0000 |
commit | f2551a9fc03636deb5fcd3f30c761dca946c8341 (patch) | |
tree | b59bc2c5ea1f7471dec4ef59826614b4f6d0adbf /server/src/com/vaadin/ui/Slider.java | |
parent | c8d58261954de18ef67eaf9043bd93360202cf06 (diff) | |
download | vaadin-framework-f2551a9fc03636deb5fcd3f30c761dca946c8341.tar.gz vaadin-framework-f2551a9fc03636deb5fcd3f30c761dca946c8341.zip |
replaced all org.json.* usages with elemental.json.* (#8942)
Change-Id: I4809fbbdb48f3e36c8e1da8552ff3fa734714105
Diffstat (limited to 'server/src/com/vaadin/ui/Slider.java')
-rw-r--r-- | server/src/com/vaadin/ui/Slider.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/server/src/com/vaadin/ui/Slider.java b/server/src/com/vaadin/ui/Slider.java index ff6c955e47..66ed1a48f4 100644 --- a/server/src/com/vaadin/ui/Slider.java +++ b/server/src/com/vaadin/ui/Slider.java @@ -16,8 +16,6 @@ package com.vaadin.ui; -import org.json.JSONException; - import com.vaadin.shared.ui.slider.SliderOrientation; import com.vaadin.shared.ui.slider.SliderServerRpc; import com.vaadin.shared.ui.slider.SliderState; @@ -42,12 +40,8 @@ public class Slider extends AbstractField<Double> { * * See #12133. */ - try { - getUI().getConnectorTracker().getDiffState(Slider.this) - .put("value", value); - } catch (JSONException e) { - throw new RuntimeException(e); - } + getUI().getConnectorTracker().getDiffState(Slider.this) + .put("value", value); try { setValue(value, true); |