You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/02/25 15:20:38 UTC

[jira] Resolved: (COMPRESS-126) ZipArchiveEntry.isDirectory() doesn't work

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

Sebb resolved COMPRESS-126.
---------------------------

    Resolution: Invalid

That's because the entry is a file, not a directory.

> ZipArchiveEntry.isDirectory() doesn't work
> ------------------------------------------
>
>                 Key: COMPRESS-126
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-126
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Compressors
>    Affects Versions: 1.1
>         Environment: Windows XP, JDK 1.6.0_24
>            Reporter: MH
>
> I have a ZIP Archive that contains 1 file that itself is within a directory. ZipArchiveEntry.getName() returns as expected:
> test/file.txt
> but ZipArchiveEntry.isDirectory() returns false!

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira