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

List:       httpclient-commons-dev
Subject:    Re: org.apache.hc.core5.http.MessageHeaders.getAllHeaders() vs getHeaders()
From:       Michael Osipov <michaelo () apache ! org>
Date:       2018-09-30 19:12:27
Message-ID: 82519f0e-0f22-d1f3-f87f-c7f99a8f4400 () apache ! org
[Download RAW message or body]

Am 2018-09-30 um 20:57 schrieb Gary Gregory:
> IMO, we should
> rename org.apache.hc.core5.http.MessageHeaders.getAllHeaders() to
> getHeaders(). The "All" is not needed IMO. We do not have "All" in other
> API names, for example we have "headerIterator()" in the same class and not
> "allHeadersIterator()", why is "All" in one and not in the other? Do they
> return different results? Confusing.

Makes sense, make it consistent.

---------------------------------------------------------------------
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