You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Eduard Wirch (JIRA)" <ji...@apache.org> on 2015/10/21 10:44:27 UTC

[jira] [Created] (VFS-585) CompressedFileFileObject should override exists()

Eduard Wirch created VFS-585:
--------------------------------

             Summary: CompressedFileFileObject should override exists()
                 Key: VFS-585
                 URL: https://issues.apache.org/jira/browse/VFS-585
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 2.0
            Reporter: Eduard Wirch


{{CompressedFileFileObject}} does not implement {{exists()}}. This leads to inheriting the implementation of {{AbstractFileObject}} which always returns {{true}} if the type is not {{IMAGINARY}}. That's completely useless in production.

Make {{exists()}} return {{true}} only if the archive and the compressed file exist.

Alternative: at least existence of the archive should be checked.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)