commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <>
Subject [jira] [Created] (COMPRESS-242) X5455_ExtendedTimestamp's API is inconvenient for writers
Date Sun, 03 Nov 2013 10:17:17 GMT
Stefan Bodewig created COMPRESS-242:

             Summary: X5455_ExtendedTimestamp's API is inconvenient for writers
                 Key: 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

View raw message