diff --git a/modules/apps/frontend-taglib/frontend-taglib-sample-web/src/main/java/com/liferay/frontend/taglib/sample/web/internal/portlet/SamplePortlet.java b/modules/apps/frontend-taglib/frontend-taglib-sample-web/src/main/java/com/liferay/frontend/taglib/sample/web/internal/portlet/SamplePortlet.java index 9a1008b64fb981..5e9417c068b96e 100644 --- a/modules/apps/frontend-taglib/frontend-taglib-sample-web/src/main/java/com/liferay/frontend/taglib/sample/web/internal/portlet/SamplePortlet.java +++ b/modules/apps/frontend-taglib/frontend-taglib-sample-web/src/main/java/com/liferay/frontend/taglib/sample/web/internal/portlet/SamplePortlet.java @@ -53,19 +53,17 @@ public void doDispatch( RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException { - renderRequest.setAttribute( - SamplePortletKeys.SEARCH_PAGINATOR_DISPLAY_CONTEXT, - new SearchPaginatorDisplayContext( - _portal, renderRequest, renderResponse)); - renderRequest.setAttribute( SamplePortletKeys.SAMPLE_DISPLAY_CONTEXT, new SampleDisplayContext(renderRequest, renderResponse)); - renderRequest.setAttribute( SamplePortletKeys.SEARCH_ITERATOR_DISPLAY_CONTEXT, new SearchIteratorDisplayContext( _portal, renderRequest, renderResponse)); + renderRequest.setAttribute( + SamplePortletKeys.SEARCH_PAGINATOR_DISPLAY_CONTEXT, + new SearchPaginatorDisplayContext( + _portal, renderRequest, renderResponse)); super.doDispatch(renderRequest, renderResponse); }