diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2012-11-01 11:06:25 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-11-01 11:31:05 +0000 |
commit | 008b582c66166b1a2e7ada4510e3a3d8be433a10 (patch) | |
tree | dcaf72ba7658683692aa7148aff4381a095e87e2 /server/src | |
parent | 06c6b1efcaea9a3f63f9abddb544cac3562cee40 (diff) | |
download | vaadin-framework-008b582c66166b1a2e7ada4510e3a3d8be433a10.tar.gz vaadin-framework-008b582c66166b1a2e7ada4510e3a3d8be433a10.zip |
Remove unnecessary "if not equal" check from AbstractEmbedded.setAlternateText
Change-Id: I7afd1796a44117c0bc834017b30c36283f29d81d
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/com/vaadin/ui/AbstractEmbedded.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/server/src/com/vaadin/ui/AbstractEmbedded.java b/server/src/com/vaadin/ui/AbstractEmbedded.java index 7dcf7ca091..7e87d90480 100644 --- a/server/src/com/vaadin/ui/AbstractEmbedded.java +++ b/server/src/com/vaadin/ui/AbstractEmbedded.java @@ -52,12 +52,7 @@ public abstract class AbstractEmbedded extends AbstractComponent { * content. */ public void setAlternateText(String altText) { - if (altText != getState().alternateText - || (altText != null && !altText - .equals(getState().alternateText))) { - getState().alternateText = altText; - requestRepaint(); - } + getState().alternateText = altText; } /** |