summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbstractComponent.java
diff options
context:
space:
mode:
authorMikael Grankvist <mgrankvi@vaadin.com>2012-11-14 15:23:52 +0200
committerVaadin Code Review <review@vaadin.com>2012-11-20 13:31:39 +0000
commit98555d0eac757e738b9218cd0d8b719dd37ccc05 (patch)
tree106276222f83863b4f0e205ada39d6f698efdf1e /server/src/com/vaadin/ui/AbstractComponent.java
parent64075d9078052c5ac9446d6aab2debe8a46ccfba (diff)
downloadvaadin-framework-98555d0eac757e738b9218cd0d8b719dd37ccc05.tar.gz
vaadin-framework-98555d0eac757e738b9218cd0d8b719dd37ccc05.zip
Added getState(boolean) to allow getState without side effects (#10006)
Change-Id: Idee529a8efc245da88192cd059c9e35165d1adad
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractComponent.java')
-rw-r--r--server/src/com/vaadin/ui/AbstractComponent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/AbstractComponent.java b/server/src/com/vaadin/ui/AbstractComponent.java
index 7e7a595a2e..f1924692ba 100644
--- a/server/src/com/vaadin/ui/AbstractComponent.java
+++ b/server/src/com/vaadin/ui/AbstractComponent.java
@@ -323,7 +323,7 @@ public abstract class AbstractComponent extends AbstractClientConnector
*/
@Override
public boolean isEnabled() {
- return getState().enabled;
+ return getState(false).enabled;
}
/*