diff options
author | Artur Signell <artur@vaadin.com> | 2016-05-11 23:16:01 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-11-22 15:12:43 +0000 |
commit | b9a107c2f7a8227c12a6df6a29c9abaf292863c9 (patch) | |
tree | 66dd2151c26f65cb1694c95c5e48bfa7c7251d3b /server/src | |
parent | 745c9beacc83886d3d8d3578a357c99a801c3ac9 (diff) | |
download | vaadin-framework-b9a107c2f7a8227c12a6df6a29c9abaf292863c9.tar.gz vaadin-framework-b9a107c2f7a8227c12a6df6a29c9abaf292863c9.zip |
Remove unused theme getter (#11412)
Change-Id: I391ed3f67df6bf2c53f7e2ffcf1f05c558528f95
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/main/java/com/vaadin/server/LegacyCommunicationManager.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/server/src/main/java/com/vaadin/server/LegacyCommunicationManager.java b/server/src/main/java/com/vaadin/server/LegacyCommunicationManager.java index 3ef17b618a..98193d2613 100644 --- a/server/src/main/java/com/vaadin/server/LegacyCommunicationManager.java +++ b/server/src/main/java/com/vaadin/server/LegacyCommunicationManager.java @@ -65,9 +65,6 @@ public class LegacyCommunicationManager implements Serializable { */ private final VaadinSession session; - // TODO Refactor (#11412) - private String requestThemeName; - // TODO Refactor (#11413) private final Map<String, Class<?>> publishedFileContexts = new HashMap<>(); @@ -302,26 +299,6 @@ public class LegacyCommunicationManager implements Serializable { } } - /** - * @deprecated As of 7.1. See #11412. - */ - @Deprecated - public String getTheme(UI uI) { - String themeName = uI.getTheme(); - String requestThemeName = getRequestTheme(); - - if (requestThemeName != null) { - themeName = requestThemeName; - } - if (themeName == null) { - themeName = VaadinServlet.getDefaultTheme(); - } - return themeName; - } - - private String getRequestTheme() { - return requestThemeName; - } /** * @deprecated As of 7.1. In 7.2 and later, use |