Uploaded image for project: 'Google Code-in'
  1. Google Code-in
  2. GCI-193

Remove empty method setContentLength from GZIPResponseWrapper

    XMLWordPrintable

Details

    Description

      Remove this method: https://github.com/openmrs/openmrs-core/blob/master/web/src/main/java/org/openmrs/web/filter/GZIPResponseWrapper.java#L106-L108

      Background Information: Methods should not be empty

      There are several reasons for a method not to have a method body:
      It is an unintentional omission, and should be fixed to prevent an unexpected behavior in production.
      It is not yet, or never will be, supported. In this case an [UnsupportedOperationException|NotSupportedException|IllegalOperationError] should be thrown.
      The method is an intentionally-blank override. In this case a nested comment should explain the reason for the blank override.
      

      Gliffy Diagrams

        Attachments

          Activity

            People

              Jyothsna_Ashok Jyothsna Ashok (Inactive)
              dkayiwa Daniel Kayiwa
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: