CpioArchiveEntry.fileFormat and headerSize should be immutable fields, only set
on construction
-----------------------------------------------------------------------------------------------
Key: COMPRESS-57
URL: https://issues.apache.org/jira/browse/COMPRESS-57
Project: Commons Compress
Issue Type: Improvement
Reporter: Sebb
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.