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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
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.

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@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.

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
In reply to this post by JIRA jira@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.