[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-commons-dev
Subject:    [jira] [Created] (HTTPCORE-439) Contribute BasicHeader override of equals and hashcode
From:       "John Lewis (JIRA)" <jira () apache ! org>
Date:       2016-12-21 21:11:58
Message-ID: JIRA.13029903.1482354699000.575419.1482354718633 () Atlassian ! JIRA
[Download RAW message or body]

John Lewis created HTTPCORE-439:
-----------------------------------

             Summary: 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-alpha1


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
(v6.3.4#6332)

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic