diff options
author | Artur Signell <artur.signell@itmill.com> | 2010-11-26 13:33:40 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2010-11-26 13:33:40 +0000 |
commit | 2e19874538fe5c2d1780b6f4a8bb8e925a615f6c (patch) | |
tree | 26674058086f219b3f7761655a36f2abb89bcd3e /src | |
parent | 5864347a726fa13c4250b08d16f2a62f3110d681 (diff) | |
download | vaadin-framework-2e19874538fe5c2d1780b6f4a8bb8e925a615f6c.tar.gz vaadin-framework-2e19874538fe5c2d1780b6f4a8bb8e925a615f6c.zip |
Reverted [16195] as it causes NPE
svn changeset:16196/svn branch:6.5
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/ui/TextField.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/TextField.java b/src/com/vaadin/ui/TextField.java index 00eb0fae32..0f0758c4a9 100644 --- a/src/com/vaadin/ui/TextField.java +++ b/src/com/vaadin/ui/TextField.java @@ -472,7 +472,7 @@ public class TextField extends AbstractTextField implements lastKnownTextContent = getNullRepresentation(); textChangeEventPending = true; } else if (newValue != null - && !lastKnownTextContent.equals(newValue.toString())) { + && !newValue.toString().equals(lastKnownTextContent)) { // Value was changed to something else than null representation lastKnownTextContent = newValue.toString(); textChangeEventPending = true; |