diff options
author | Leif Åstrand <leif@vaadin.com> | 2011-12-07 09:21:37 +0000 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2011-12-07 09:21:37 +0000 |
commit | 6b92b9a7da194210bd42cd5f4437ccb5d0e46d7c (patch) | |
tree | 06d985056fcf7f4d61f996b178084eb98891b170 /src/com/vaadin | |
parent | 98976f6d1a7111e26f164f6fba03b23057d4a65f (diff) | |
download | vaadin-framework-6b92b9a7da194210bd42cd5f4437ccb5d0e46d7c.tar.gz vaadin-framework-6b92b9a7da194210bd42cd5f4437ccb5d0e46d7c.zip |
Updated formatting
svn changeset:22265/svn branch:6.7
Diffstat (limited to 'src/com/vaadin')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VTextField.java | 12 |
1 files changed, 6 insertions, 6 deletions
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"); |