Browse Source

Remove unnecessary override and correct javadoc typo (#8716)

Fixes #8715
tags/8.1.0.alpha1
Peter Lehto 7 years ago
parent
commit
55530edec1
1 changed files with 1 additions and 9 deletions
  1. 1
    9
      server/src/main/java/com/vaadin/ui/AbstractTextField.java

+ 1
- 9
server/src/main/java/com/vaadin/ui/AbstractTextField.java View File

@@ -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);

Loading…
Cancel
Save