commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COMPRESS-242) X5455_ExtendedTimestamp's API is inconvenient for writers
Date Mon, 09 Dec 2013 04:57:06 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Bodewig resolved COMPRESS-242.
-------------------------------------

    Resolution: Fixed

svn revision 1549131

> 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
>             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)

Mime
View raw message