diff options
author | Artur Signell <artur@vaadin.com> | 2012-04-03 00:29:44 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-04-05 00:08:25 +0300 |
commit | 5c2a9918e091f526ba2e17e2c70f8bcbbf47c1f5 (patch) | |
tree | 682e52088b8586c78140947f8c9a058ab8f0ecea /src/com/vaadin/ui/Button.java | |
parent | dab7c9fa82c4d9301e00e1c24e46890fa130c7e5 (diff) | |
download | vaadin-framework-5c2a9918e091f526ba2e17e2c70f8bcbbf47c1f5.tar.gz vaadin-framework-5c2a9918e091f526ba2e17e2c70f8bcbbf47c1f5.zip |
Automatically create state on server side based on getState return type
Diffstat (limited to 'src/com/vaadin/ui/Button.java')
-rw-r--r-- | src/com/vaadin/ui/Button.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/vaadin/ui/Button.java b/src/com/vaadin/ui/Button.java index 7deb048655..5c66d57939 100644 --- a/src/com/vaadin/ui/Button.java +++ b/src/com/vaadin/ui/Button.java @@ -18,7 +18,6 @@ import com.vaadin.event.ShortcutAction; import com.vaadin.event.ShortcutAction.KeyCode; import com.vaadin.event.ShortcutAction.ModifierKey; import com.vaadin.event.ShortcutListener; -import com.vaadin.terminal.gwt.client.ComponentState; import com.vaadin.terminal.gwt.client.MouseEventDetails; import com.vaadin.terminal.gwt.client.ui.ButtonConnector.ButtonServerRpc; import com.vaadin.terminal.gwt.client.ui.ButtonState; @@ -497,11 +496,6 @@ public class Button extends AbstractComponent implements } @Override - protected ComponentState createState() { - return new ButtonState(); - } - - @Override public ButtonState getState() { return (ButtonState) super.getState(); } |