From 2a82ebacf9e81ec50549bacb8d1ad425d41da445 Mon Sep 17 00:00:00 2001 From: Andrey Ostanin Date: Mon, 14 May 2018 15:06:54 +0400 Subject: [PATCH] Correct typo in WebButtonsPanel.java --- .../haulmont/cuba/web/gui/components/WebButtonsPanel.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/web/src/com/haulmont/cuba/web/gui/components/WebButtonsPanel.java b/modules/web/src/com/haulmont/cuba/web/gui/components/WebButtonsPanel.java index 491cb80412..b19c902981 100644 --- a/modules/web/src/com/haulmont/cuba/web/gui/components/WebButtonsPanel.java +++ b/modules/web/src/com/haulmont/cuba/web/gui/components/WebButtonsPanel.java @@ -25,7 +25,7 @@ import java.util.LinkedList; import java.util.List; public class WebButtonsPanel extends WebHBoxLayout implements ButtonsPanel, VisibilityChangeNotifier { - public static final String BUTTONS_PANNEL_STYLENAME = "c-buttons-panel"; + public static final String BUTTONS_PANEL_STYLENAME = "c-buttons-panel"; protected List visibilityChangeListeners; @@ -33,19 +33,19 @@ public class WebButtonsPanel extends WebHBoxLayout implements ButtonsPanel, Visi setSpacing(true); setMargin(false); - component.addStyleName(BUTTONS_PANNEL_STYLENAME); + component.addStyleName(BUTTONS_PANEL_STYLENAME); } @Override public void setStyleName(String name) { super.setStyleName(name); - component.addStyleName(BUTTONS_PANNEL_STYLENAME); + component.addStyleName(BUTTONS_PANEL_STYLENAME); } @Override public String getStyleName() { - return StringUtils.normalizeSpace(super.getStyleName().replace(BUTTONS_PANNEL_STYLENAME, "")); + return StringUtils.normalizeSpace(super.getStyleName().replace(BUTTONS_PANEL_STYLENAME, "")); } @Override