diff --git a/modules/apps/layout/layout-page-template-admin-web-test/src/testIntegration/java/com/liferay/layout/page/template/admin/web/internal/portlet/action/test/UpdateDisplayPageEntryContentTypeMVCActionCommandTest.java b/modules/apps/layout/layout-page-template-admin-web-test/src/testIntegration/java/com/liferay/layout/page/template/admin/web/internal/portlet/action/test/UpdateDisplayPageEntryContentTypeMVCActionCommandTest.java index 969f40acf64c46..67ab93c6a7c559 100644 --- a/modules/apps/layout/layout-page-template-admin-web-test/src/testIntegration/java/com/liferay/layout/page/template/admin/web/internal/portlet/action/test/UpdateDisplayPageEntryContentTypeMVCActionCommandTest.java +++ b/modules/apps/layout/layout-page-template-admin-web-test/src/testIntegration/java/com/liferay/layout/page/template/admin/web/internal/portlet/action/test/UpdateDisplayPageEntryContentTypeMVCActionCommandTest.java @@ -351,18 +351,14 @@ private String _getExpectedViewUsagesURL( ).setRedirect( redirect ).setParameter( - "classNameId", - String.valueOf(layoutPageTemplateEntry.getClassNameId()) + "classNameId", layoutPageTemplateEntry.getClassNameId() ).setParameter( - "classTypeId", - String.valueOf(layoutPageTemplateEntry.getClassTypeId()) + "classTypeId", layoutPageTemplateEntry.getClassTypeId() ).setParameter( "layoutPageTemplateEntryId", - String.valueOf( - layoutPageTemplateEntry.getLayoutPageTemplateEntryId()) + layoutPageTemplateEntry.getLayoutPageTemplateEntryId() ).setParameter( - "defaultTemplate", - String.valueOf(layoutPageTemplateEntry.isDefaultTemplate()) + "defaultTemplate", layoutPageTemplateEntry.isDefaultTemplate() ).buildString(); } diff --git a/modules/apps/layout/layout-page-template-admin-web/src/main/java/com/liferay/layout/page/template/admin/web/internal/portlet/action/UpdateDisplayPageEntryContentTypeMVCActionCommand.java b/modules/apps/layout/layout-page-template-admin-web/src/main/java/com/liferay/layout/page/template/admin/web/internal/portlet/action/UpdateDisplayPageEntryContentTypeMVCActionCommand.java index de68360feb394a..89a8ffd3df4fea 100644 --- a/modules/apps/layout/layout-page-template-admin-web/src/main/java/com/liferay/layout/page/template/admin/web/internal/portlet/action/UpdateDisplayPageEntryContentTypeMVCActionCommand.java +++ b/modules/apps/layout/layout-page-template-admin-web/src/main/java/com/liferay/layout/page/template/admin/web/internal/portlet/action/UpdateDisplayPageEntryContentTypeMVCActionCommand.java @@ -176,18 +176,14 @@ private String _getViewUsagesURL( ).setRedirect( ParamUtil.getString(actionRequest, "redirect") ).setParameter( - "classNameId", - String.valueOf(layoutPageTemplateEntry.getClassNameId()) + "classNameId", layoutPageTemplateEntry.getClassNameId() ).setParameter( - "classTypeId", - String.valueOf(layoutPageTemplateEntry.getClassTypeId()) + "classTypeId", layoutPageTemplateEntry.getClassTypeId() ).setParameter( "layoutPageTemplateEntryId", - String.valueOf( - layoutPageTemplateEntry.getLayoutPageTemplateEntryId()) + layoutPageTemplateEntry.getLayoutPageTemplateEntryId() ).setParameter( - "defaultTemplate", - String.valueOf(layoutPageTemplateEntry.isDefaultTemplate()) + "defaultTemplate", layoutPageTemplateEntry.isDefaultTemplate() ).buildString(); } diff --git a/modules/apps/layout/layout-page-template-admin-web/src/main/java/com/liferay/layout/page/template/admin/web/internal/servlet/taglib/util/DisplayPageActionDropdownItemsProvider.java b/modules/apps/layout/layout-page-template-admin-web/src/main/java/com/liferay/layout/page/template/admin/web/internal/servlet/taglib/util/DisplayPageActionDropdownItemsProvider.java index 0dc3c4b4ee1668..f53baf55d4dda0 100644 --- a/modules/apps/layout/layout-page-template-admin-web/src/main/java/com/liferay/layout/page/template/admin/web/internal/servlet/taglib/util/DisplayPageActionDropdownItemsProvider.java +++ b/modules/apps/layout/layout-page-template-admin-web/src/main/java/com/liferay/layout/page/template/admin/web/internal/servlet/taglib/util/DisplayPageActionDropdownItemsProvider.java @@ -689,18 +689,14 @@ private String _getViewUsagesURL() { ).setRedirect( _themeDisplay.getURLCurrent() ).setParameter( - "classNameId", - String.valueOf(_layoutPageTemplateEntry.getClassNameId()) + "classNameId", _layoutPageTemplateEntry.getClassNameId() ).setParameter( - "classTypeId", - String.valueOf(_layoutPageTemplateEntry.getClassTypeId()) + "classTypeId", _layoutPageTemplateEntry.getClassTypeId() ).setParameter( "layoutPageTemplateEntryId", - String.valueOf( - _layoutPageTemplateEntry.getLayoutPageTemplateEntryId()) + _layoutPageTemplateEntry.getLayoutPageTemplateEntryId() ).setParameter( - "defaultTemplate", - String.valueOf(_layoutPageTemplateEntry.isDefaultTemplate()) + "defaultTemplate", _layoutPageTemplateEntry.isDefaultTemplate() ).buildString(); return _viewUsagesURL;