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

CpioArchiveEntry.fileFormat and headerSize should be immutable fields, only set on construction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • None
    • None

    Description

      CpioArchiveEntry.fileFormat and headerSize should be immutable fields, only set on construction.

      It does not make sense to change these values once set.

      Removing the protected set method would simplify other code.

      Probably also makes sense to add isFormatNew() / isFormatOld() methods.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: