diff options
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/AbstractTextField.java')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/AbstractTextField.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbstractTextField.java b/server/src/main/java/com/vaadin/ui/AbstractTextField.java index 9da5e9eedc..827550fe1d 100644 --- a/server/src/main/java/com/vaadin/ui/AbstractTextField.java +++ b/server/src/main/java/com/vaadin/ui/AbstractTextField.java @@ -84,7 +84,7 @@ public abstract class AbstractTextField extends AbstractField<String> /** * Sets the value of this text field. If the new value is not equal to * {@code getValue()}, fires a {@link ValueChangeEvent}. Throws - * {@code NullPointerException} if the value is not null. + * {@code NullPointerException} if the value is null. * * @param value * the new value, not {@code null} @@ -270,14 +270,6 @@ public abstract class AbstractTextField extends AbstractField<String> getState().text = value; } - /** - * Clears the value of this field. - */ - @Override - public void clear() { - setValue(""); - } - @Override public void writeDesign(Element design, DesignContext designContext) { super.writeDesign(design, designContext); |