NpTextArea: Remove unused constructor

Change-Id: I359dc847872616eda465a12c4583f0afdf3bbb8a
This commit is contained in:
David Pursehouse 2016-05-09 21:35:48 +09:00 committed by Hugo Arès
parent 697b4bcd74
commit 882aeb8191

View File

@ -14,7 +14,6 @@
package com.google.gwtexpui.globalkey.client;
import com.google.gwt.dom.client.Element;
import com.google.gwt.user.client.ui.TextArea;
public class NpTextArea extends TextArea {
@ -22,11 +21,6 @@ public class NpTextArea extends TextArea {
addKeyPressHandler(GlobalKey.STOP_PROPAGATION);
}
public NpTextArea(final Element element) {
super(element);
addKeyPressHandler(GlobalKey.STOP_PROPAGATION);
}
public void setSpellCheck(boolean spell) {
getElement().setPropertyBoolean("spellcheck", spell);
}