From a6688c9362d8f2d87b8334b21ecf966789900ceb Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Thu, 6 Sep 2012 11:41:22 +0300 Subject: Remove some references to Application in API and docs (#9402) --- server/src/com/vaadin/ui/AbstractComponent.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'server/src/com/vaadin/ui/AbstractComponent.java') 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 { -- cgit v1.2.3