commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (COMPRESS-57) CpioArchiveEntry.fileFormat and headerSize should be immutable fields, only set on construction
Date Thu, 26 Mar 2009 21:31:58 GMT
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.


Mime
View raw message