Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-300

LZWInputStream has mutable protected fields; these should be accessed via getter/setter and made private

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.10
    • None
    • None

    Description

      As per the discussion on the dev list, the class LZWInputStream has some non-private mutable fields.

      These should be accessed via getters/setters only (data encapsulation).

      Attachments

        1. COMPRESS-300.patch
          8 kB
          Sebb
        2. COMPRESS-300-alternative.patch
          8 kB
          Stefan Bodewig
        3. imaging-compress-lzw.patch
          16 kB
          Damjan Jovanovic
        4. imaging-compress-lzw-adjusted.patch
          17 kB
          Stefan Bodewig

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: