You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Robin Schimpf (JIRA)" <ji...@apache.org> on 2018/12/15 18:33:00 UTC
[jira] [Commented] (COMPRESS-475) 7z archive entry class does not
override the equals method
[ https://issues.apache.org/jira/browse/COMPRESS-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722246#comment-16722246 ]
Robin Schimpf commented on COMPRESS-475:
----------------------------------------
Thanks for the fix!
> 7z archive entry class does not override the equals method
> ----------------------------------------------------------
>
> Key: COMPRESS-475
> URL: https://issues.apache.org/jira/browse/COMPRESS-475
> Project: Commons Compress
> Issue Type: Bug
> Affects Versions: 1.18
> Reporter: Robin Schimpf
> Priority: Major
> Fix For: 1.19
>
>
> I have all archive entries of a 7z saved in a list and try to only get the content of a specific file. Comparing the archive entries with equals will always return false because the equals method is not overridden.
> I will compare the name of the archive entry for now.
> While looking through all archive entry implementations I noticed that the Arj entry also does not override the equals method.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)