aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/Button.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-04-03 00:29:44 +0300
committerArtur Signell <artur@vaadin.com>2012-04-05 00:08:25 +0300
commit5c2a9918e091f526ba2e17e2c70f8bcbbf47c1f5 (patch)
tree682e52088b8586c78140947f8c9a058ab8f0ecea /src/com/vaadin/ui/Button.java
parentdab7c9fa82c4d9301e00e1c24e46890fa130c7e5 (diff)
downloadvaadin-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.java6
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();
}