Skip to content

Commit 802d58e

Browse files
LPD-37516 SF/Wordsmith
1 parent 676aea4 commit 802d58e

File tree

1 file changed

+3
-3
lines changed
  • modules/apps/client-extension/client-extension-type-impl/src/main/java/com/liferay/client/extension/type/internal/configuration

1 file changed

+3
-3
lines changed

modules/apps/client-extension/client-extension-type-impl/src/main/java/com/liferay/client/extension/type/internal/configuration/CETConfigurationFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ private void _addControlPanelThemeCSSClientExtensionEntryRel(Long companyId)
152152
_cet.getExternalReferenceCode(), _cet.getType(), StringPool.BLANK,
153153
new ServiceContext());
154154

155-
int clientExtensionEntryRelsCount =
155+
int count =
156156
_clientExtensionEntryRelLocalService.
157157
getClientExtensionEntryRelsCount(
158158
_portal.getClassNameId(Layout.class), layout.getPlid(),
159159
ClientExtensionEntryConstants.TYPE_THEME_CSS);
160160

161-
if (clientExtensionEntryRelsCount > 1) {
161+
if (count > 1) {
162162
_log.error(
163163
"Only one theme CSS client extension can be applied at a " +
164164
"time. To avoid conflicts, none of them will be applied.");
@@ -176,7 +176,7 @@ private Layout _getControlPanelLayout(long companyId)
176176

177177
if (ListUtil.isEmpty(layouts)) {
178178
throw new NoSuchLayoutException(
179-
"Unable to get control panel layout");
179+
"Unable to get Control Panel layout");
180180
}
181181

182182
return layouts.get(0);

0 commit comments

Comments
 (0)