aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorPeter Lehto <peter@vaadin.com>2017-03-01 13:29:51 +0200
committerHenri Sara <henri.sara@gmail.com>2017-03-01 13:29:51 +0200
commit55530edec19e2bdf478a1e0dc782012754866adf (patch)
treece2b40f020027fffb49c2cf6ee4f1f68331db315 /server
parentc21c5526b147aad1d77c2a9bc87828fb26798ea4 (diff)
downloadvaadin-framework-55530edec19e2bdf478a1e0dc782012754866adf.tar.gz
vaadin-framework-55530edec19e2bdf478a1e0dc782012754866adf.zip
Remove unnecessary override and correct javadoc typo (#8716)
Fixes #8715
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractTextField.java10
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);