hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-439) Contribute BasicHeader override of equals and hashcode
Date Fri, 23 Dec 2016 09:29:58 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15772406#comment-15772406

ASF GitHub Bot commented on HTTPCORE-439:

Github user ok2c commented on the issue:

    Committed to SVN trunk
    URL: http://svn.apache.org/viewvc?rev=1775806&view=rev
    Please review and close.
    PS: The 5.0-alpha2 release vote is ongoing. However due to the time of the year I cannot
rule out its failure due to insufficient binding votes. If I have to cut another RC your changes
will get picked up. 

> Contribute BasicHeader override of equals and hashcode
> ------------------------------------------------------
>                 Key: HTTPCORE-439
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-439
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: Contrib, HttpCore
>    Affects Versions: 5.0-alpha2
>         Environment: All
>            Reporter: John Lewis
>             Fix For: 5.0-alpha2
> When removing headers from a HeaderGroup, the header is only removed if the header you
are trying to remove is an object in the header list.  It seems it would be better if headers
were removed that matched the name and value of one of the objects in the list.  To accomplish
this, I have overridden the equals and hashCode methods in BasicHeader.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message