From b202c155c302fce17ce51706197920637179aef7 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 14 Mar 2013 18:18:53 +0200 Subject: [PATCH] Remove unnecessary theme name sanitation (#10708) Change-Id: Ib28d4bbf7602017e371c4597733f1558cdb0b796 --- client/src/com/vaadin/client/ui/ui/UIConnector.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/src/com/vaadin/client/ui/ui/UIConnector.java b/client/src/com/vaadin/client/ui/ui/UIConnector.java index 7f3c7010dd..c8210e3a09 100644 --- a/client/src/com/vaadin/client/ui/ui/UIConnector.java +++ b/client/src/com/vaadin/client/ui/ui/UIConnector.java @@ -433,8 +433,6 @@ public class UIConnector extends AbstractSingleComponentContainerConnector String themeName = applicationConnection.getConfiguration() .getThemeName(); - // Remove chars that are not suitable for style names - themeName = themeName.replaceAll("[^a-zA-Z0-9]", ""); root.addStyleName(themeName); root.add(getWidget()); -- 2.39.5