Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2786

Remove the com.liferay.faces.bridge.context.HeadResponseWriter marker class

Details

    Description

      The com.liferay.faces.bridge.context.HeadResponseWriter class simply extends javax.faces.context.ResponseWriterWrapper:

      HeadResponseWriter.java
      package com.liferay.faces.bridge.context;
      
      import javax.faces.context.ResponseWriterWrapper;
      
      /**
       * This is a marker class that indicates a type of response writer that can write to the <head>...</head> section of a
       * portal page.
       */
      public abstract class HeadResponseWriter extends ResponseWriterWrapper {
      }
      

      Since its utility as a marker class is only beneficial from a naming perspective, and since it doesn't add any extra methods, the class is to be removed in order to simplify the Bridge API.

      Attachments

        Activity

          People

            neil.griffin Neil Griffin
            neil.griffin Neil Griffin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                bridge-impl-3.0.0
                bridge-api-3.0.0
                bridge-api-4.0.0
                bridge-impl-4.0.0
                bridge-impl-5.0.0
                bridge-impl-6.0.0