diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-09-06 11:41:22 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-09-06 11:41:22 +0300 |
commit | a6688c9362d8f2d87b8334b21ecf966789900ceb (patch) | |
tree | 4b68787eae5fe605ea73bc544ef4d025d5d4f26c /server/src/com/vaadin/ui/AbstractComponent.java | |
parent | 201121c5e00ee78d85add849f8b071fce076cc0d (diff) | |
download | vaadin-framework-a6688c9362d8f2d87b8334b21ecf966789900ceb.tar.gz vaadin-framework-a6688c9362d8f2d87b8334b21ecf966789900ceb.zip |
Remove some references to Application in API and docs (#9402)
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractComponent.java')
-rw-r--r-- | server/src/com/vaadin/ui/AbstractComponent.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/com/vaadin/ui/AbstractComponent.java b/server/src/com/vaadin/ui/AbstractComponent.java index 09b471cc36..f92024d3b3 100644 --- a/server/src/com/vaadin/ui/AbstractComponent.java +++ b/server/src/com/vaadin/ui/AbstractComponent.java @@ -263,9 +263,9 @@ public abstract class AbstractComponent extends AbstractClientConnector if (parent != null) { return parent.getLocale(); } - final VaadinSession app = getSession(); - if (app != null) { - return app.getLocale(); + final VaadinSession session = getSession(); + if (session != null) { + return session.getLocale(); } return null; } @@ -620,8 +620,8 @@ public abstract class AbstractComponent extends AbstractClientConnector */ protected void focus() { if (this instanceof Focusable) { - final VaadinSession app = getSession(); - if (app != null) { + final VaadinSession session = getSession(); + if (session != null) { getUI().setFocusedComponent((Focusable) this); delayedFocus = false; } else { |