From: Leif Åstrand Date: Wed, 7 Dec 2011 09:21:37 +0000 (+0000) Subject: Updated formatting X-Git-Tag: 7.0.0.alpha1~225^2~1^2~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6b92b9a7da194210bd42cd5f4437ccb5d0e46d7c;p=vaadin-framework.git Updated formatting svn changeset:22265/svn branch:6.7 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VTextField.java b/src/com/vaadin/terminal/gwt/client/ui/VTextField.java index 41d48041fc..55921bab44 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VTextField.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VTextField.java @@ -249,15 +249,15 @@ public class VTextField extends TextBoxBase implements Paintable, Field, final String text = uidl.getStringVariable("text"); /* - * We skip the text content update if field has been repainted, but text has - * not been changed. Additional sanity check verifies there is no change - * in the que (in which case we count more on the server side value). + * We skip the text content update if field has been repainted, but text + * has not been changed. Additional sanity check verifies there is no + * change in the que (in which case we count more on the server side + * value). */ - if (!(uidl.getBooleanAttribute(ATTR_NO_VALUE_CHANGE_BETWEEN_PAINTS) && valueBeforeEdit != null && text - .equals(valueBeforeEdit))) { + if (!(uidl.getBooleanAttribute(ATTR_NO_VALUE_CHANGE_BETWEEN_PAINTS) + && valueBeforeEdit != null && text.equals(valueBeforeEdit))) { updateFieldContent(text); } - if (uidl.hasAttribute("selpos")) { final int pos = uidl.getIntAttribute("selpos");