]> source.dussan.org Git - vaadin-framework.git/commitdiff
Cosmetic change for #5994 fix
authorArtur Signell <artur.signell@itmill.com>
Fri, 26 Nov 2010 13:21:39 +0000 (13:21 +0000)
committerArtur Signell <artur.signell@itmill.com>
Fri, 26 Nov 2010 13:21:39 +0000 (13:21 +0000)
svn changeset:16195/svn branch:6.5

src/com/vaadin/ui/TextField.java

index 0f0758c4a9210726eabe15755aece0bb347a9e49..00eb0fae32de30c8835c0f46ba176950669f16e5 100644 (file)
@@ -472,7 +472,7 @@ public class TextField extends AbstractTextField implements
                 lastKnownTextContent = getNullRepresentation();
                 textChangeEventPending = true;
             } else if (newValue != null
-                    && !newValue.toString().equals(lastKnownTextContent)) {
+                    && !lastKnownTextContent.equals(newValue.toString())) {
                 // Value was changed to something else than null representation
                 lastKnownTextContent = newValue.toString();
                 textChangeEventPending = true;