diff options
author | Artur Signell <artur@vaadin.com> | 2012-05-07 16:49:33 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-05-11 22:18:38 +0300 |
commit | 79bb29e85510c08390add7fd7b39a5160dbdd87a (patch) | |
tree | ea634ead1b3451a4b8a976f2971429733297ebf8 /src/com/vaadin/terminal/gwt/client/ApplicationConnection.java | |
parent | 47f3e22cf8063362d99a725acd51b8d831c6f57a (diff) | |
download | vaadin-framework-79bb29e85510c08390add7fd7b39a5160dbdd87a.tar.gz vaadin-framework-79bb29e85510c08390add7fd7b39a5160dbdd87a.zip |
State is now created using generators, removed setState (#8502)
Diffstat (limited to 'src/com/vaadin/terminal/gwt/client/ApplicationConnection.java')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ApplicationConnection.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java index 8285e956e6..cc1615d4c7 100644 --- a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java +++ b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java @@ -1414,11 +1414,10 @@ public class ApplicationConnection { JSONArray stateDataAndType = new JSONArray( states.getJavaScriptObject(connectorId)); - Object state = JsonDecoder.decodeValue( - stateDataAndType, connector.getState(), - connectorMap, ApplicationConnection.this); + JsonDecoder.decodeValue(stateDataAndType, + connector.getState(), connectorMap, + ApplicationConnection.this); - connector.setState((SharedState) state); StateChangeEvent event = GWT .create(StateChangeEvent.class); event.setConnector(connector); |