You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sean Cote (JIRA)" <ji...@apache.org> on 2009/12/03 22:44:20 UTC

[jira] Created: (COMPRESS-92) ZipFile.getEntries() should be generified.

ZipFile.getEntries() should be generified.
------------------------------------------

                 Key: COMPRESS-92
                 URL: https://issues.apache.org/jira/browse/COMPRESS-92
             Project: Commons Compress
          Issue Type: Improvement
    Affects Versions: 1.0
            Reporter: Sean Cote
            Priority: Minor


Right now, ZipFile.getEntries() simply returns Enumeration, but it should return Enumeration<? extends ZipArchiveEntry> so that callers don't have to cast the results, much like java.util.zip.ZipFile.entries().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COMPRESS-92) ZipFile.getEntries() should be generified.

Posted by "Leo Izen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COMPRESS-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897108#action_12897108 ] 

Leo Izen commented on COMPRESS-92:
----------------------------------

Just modify your code until this gets fixed.

> ZipFile.getEntries() should be generified.
> ------------------------------------------
>
>                 Key: COMPRESS-92
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-92
>             Project: Commons Compress
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Sean Cote
>            Priority: Minor
>
> Right now, ZipFile.getEntries() simply returns Enumeration, but it should return Enumeration<? extends ZipArchiveEntry> so that callers don't have to cast the results, much like java.util.zip.ZipFile.entries().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COMPRESS-92) ZipFile.getEntries() should be generified.

Posted by "Christian Grobmeier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COMPRESS-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785575#action_12785575 ] 

Christian Grobmeier commented on COMPRESS-92:
---------------------------------------------

Until now compress was meant for working with java prior version 5.


> ZipFile.getEntries() should be generified.
> ------------------------------------------
>
>                 Key: COMPRESS-92
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-92
>             Project: Commons Compress
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Sean Cote
>            Priority: Minor
>
> Right now, ZipFile.getEntries() simply returns Enumeration, but it should return Enumeration<? extends ZipArchiveEntry> so that callers don't have to cast the results, much like java.util.zip.ZipFile.entries().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.