Stefan Bodewig created COMPRESS-242:
---------------------------------------
Summary: 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.6, 1.5
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#6144)