summaryrefslogtreecommitdiffstats
path: root/compatibility-client
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-10-13 15:11:49 +0200
committerTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-10-13 16:11:49 +0300
commitf42e0cc6f2c8623d3acb0033222cd6360e5f521a (patch)
tree264dd788ca94754373c50b1d41fb9536b55ab757 /compatibility-client
parente651d542cbef31cfc09786e1978e33915cb68a27 (diff)
downloadvaadin-framework-f42e0cc6f2c8623d3acb0033222cd6360e5f521a.tar.gz
vaadin-framework-f42e0cc6f2c8623d3acb0033222cd6360e5f521a.zip
Fix some checkstyle warnings (#10179)
Diffstat (limited to 'compatibility-client')
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/textfield/TextFieldConnector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/textfield/TextFieldConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/textfield/TextFieldConnector.java
index 18e1361352..15037d4b50 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/textfield/TextFieldConnector.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/textfield/TextFieldConnector.java
@@ -88,7 +88,7 @@ public class TextFieldConnector extends AbstractFieldConnector
* side value). <input> is updated only when it looses focus, so we
* force updating if not focused. Lost focus issue appeared in (#15144)
*/
- if (!(Util.getFocusedElement() == getWidget().getElement())
+ if (Util.getFocusedElement() != getWidget().getElement()
|| !uidl.getBooleanAttribute(
TextFieldConstants.ATTR_NO_VALUE_CHANGE_BETWEEN_PAINTS)
|| getWidget().valueBeforeEdit == null