diff options
author | Leif Åstrand <leif@vaadin.com> | 2011-11-10 13:42:43 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2011-11-10 13:42:43 +0200 |
commit | f9634779efddad8233e0b31914fd3dd6eeb290d2 (patch) | |
tree | c91c0043c1d4c472e79ab9d8b1d8cc68ce5471c7 /src | |
parent | c7895989edef3f38e4ac91eea54bb08b1c26d9cd (diff) | |
download | vaadin-framework-f9634779efddad8233e0b31914fd3dd6eeb290d2.tar.gz vaadin-framework-f9634779efddad8233e0b31914fd3dd6eeb290d2.zip |
Minor formatting changes
Diffstat (limited to 'src')
-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 ec3eeed15c..fbbe603ee9 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"); |