hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-400) ContentType.equals & hashCode are not implemented
Date Wed, 22 Apr 2015 16:35:01 GMT

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

Oleg Kalnichevski commented on HTTPCORE-400:

Right. And what are exactly _same attributes_? Should 'this/that; blah=foo; blah=foo' be equivalent
to 'this/that; blah=foo' or 'this/that; blah=foo; blah=bar' be 'this/that; blah=bar; blah=foo'?
While such assumption could be made for some content types such as 'text/plain' it cannot
be made for all content types.


> ContentType.equals & hashCode are not implemented
> -------------------------------------------------
>                 Key: HTTPCORE-400
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-400
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>            Reporter: Volodymyr Kyrychenko
> Since equals and hashCode are not implemented it's impossible to use them in handful
of cases

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