-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: facesbridge-api-5.0.0, facesbridge-spec-5.0.0, bridge-impl-5.0.0
-
Labels:None
The following methods first appeared in JSR 301 (Portlet 1.0 + JSF 1.2) but were deprecated in JSR 329 (Portlet 2.0 + JSF 1.2).
This issue serves as a proposal for pruning these methods from the FacesBridge API:
GenericFacesPortlet.java
/** * @deprecated This method is no longer used or called by the <code>GenericFacesPortlet</code> but retained in case * a subclass has called it. * * @param portletRequest The current portlet request. * * @return <code>null</code> */ @Deprecated public String getResponseCharacterSetEncoding(PortletRequest portletRequest) { return null; } /** * @deprecated This method is no longer used or called by the <code>GenericFacesPortlet</code> but retained in case * a subclass has called it. * * @param portletRequest The current portlet request. * * @return The value obtained by calling {@link PortletRequest#getResponseContentType()}. */ @Deprecated public String getResponseContentType(PortletRequest portletRequest) { return portletRequest.getResponseContentType(); }