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

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

          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