Commons Compress
  1. Commons Compress
  2. COMPRESS-22

COMPRESS-REDESIGN: ArchiveEntry should force an isDirectory() method on implementations

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      N/A

      Description

      In order to use commons-compress archives in an ambiguous way, there should be an isDirectory() method for ArchiveEntry. ZipArchiveEntry, JarArchiveEntry, and TarArchiveEntry already have implementations so there is no extra work that has to be done.

      1. ArArchiveEntry.patch
        0.4 kB
        Tim Pinet
      2. MemoryArchiveEntry.patch
        0.3 kB
        Tim Pinet
      3. ArchiveEntry.patch
        0.3 kB
        Tim Pinet

        Activity

        Dennis Lundberg made changes -
        Project Commons Sandbox [ 12310491 ] Commons Compress [ 12310904 ]
        Key SANDBOX-258 COMPRESS-22
        Component/s Compress [ 12311183 ]
        Torsten Curdt made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Torsten Curdt made changes -
        Assignee Torsten Curdt [ tcurdt ]
        Tim Pinet made changes -
        Attachment ArArchiveEntry.patch [ 12391093 ]
        Hide
        Tim Pinet added a comment -

        ArArchiveEntry.patch: New implementation of the isDirectory() method for the ArArchiveEntry class.

        Show
        Tim Pinet added a comment - ArArchiveEntry.patch: New implementation of the isDirectory() method for the ArArchiveEntry class.
        Tim Pinet made changes -
        Attachment MemoryArchiveEntry.patch [ 12391092 ]
        Hide
        Tim Pinet added a comment -

        MemoryArchiveEntry.patch: New implementation of the isDirectory() method for the MemoryArchiveEntry class.

        Show
        Tim Pinet added a comment - MemoryArchiveEntry.patch: New implementation of the isDirectory() method for the MemoryArchiveEntry class.
        Tim Pinet made changes -
        Field Original Value New Value
        Attachment ArchiveEntry.patch [ 12391091 ]
        Hide
        Tim Pinet added a comment -

        ArchiveEntry.patch: Patch file with the fix to the interface. Added method isDirectory().

        Show
        Tim Pinet added a comment - ArchiveEntry.patch: Patch file with the fix to the interface. Added method isDirectory().
        Tim Pinet created issue -

          People

          • Assignee:
            Torsten Curdt
            Reporter:
            Tim Pinet
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 5h
              5h
              Remaining:
              Remaining Estimate - 5h
              5h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development