You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2013/12/20 13:40:14 UTC
[jira] [Updated] (COMPRESS-242) X5455_ExtendedTimestamp's API is
inconvenient for writers
[ https://issues.apache.org/jira/browse/COMPRESS-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Bodewig updated COMPRESS-242:
------------------------------------
Labels: zip (was: )
> X5455_ExtendedTimestamp's API is inconvenient for writers
> ---------------------------------------------------------
>
> Key: COMPRESS-242
> URL: https://issues.apache.org/jira/browse/COMPRESS-242
> Project: Commons Compress
> Issue Type: Improvement
> Components: Archivers
> Affects Versions: 1.5, 1.6
> Reporter: Stefan Bodewig
> Priority: Minor
> Labels: zip
> Fix For: 1.7
>
>
> The extra field doesn't do anything useful unless you call setFlags explicitly. This is non-obviuos and not really documented well. The fact that the *_TIME_BIT constants are package private doesn't help either.
> IMHO the constants should be public, the time field setters should set their corresponding flags implicitly when invoked with non-null values (rest when invoked with null values, perhaps) and the documentation clarified.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)