On Wed, Oct 3, 2018 at 7:17 AM Oleg Kalnichevski <[email protected]> wrote:

> On Tue, 2018-10-02 at 15:34 -0600, Gary Gregory wrote:
> > On Tue, Oct 2, 2018 at 2:09 PM Oleg Kalnichevski <[email protected]>
> > wrote:
> >
> > > On October 2, 2018 9:57:40 PM GMT+02:00, Michael Osipov <
> > > [email protected]> wrote:
> > > > Am 2018-10-01 um 16:33 schrieb Gary Gregory:
> > > > > Also, since we are here, in the same place: "Header
> > > > > getSingleHeader(String)", could be be "getHeader(String)";
> > > > > since the
> > > > > "Single" is implied by the singular "Header" in the API name
> > > > > _and_ by
> > > >
> > > > the
> > > > > return type.
> > > > >
> > > > > Thoughts on that one?
> > > >
> > > > Makes sense to me.
> > > >
> > >
> > > That will break a lot of people's code. Please at the very least
> > > deprecate
> > > all methods.
> > >
> >
> > IMO, deprecating code from one beta to another is over the top and
> > when do
> > you remove the methods, in another beta?
> >
>
> I imagine such methods could be removed at any point before the first
> GA release.
>
> I do not understand why making an upgrade to the next BETA simpler for
> every single HC 5.0 user out there is not worth one extra commit.
>

Good idea. In git master:

* Deprecate and rename
org.apache.hc.core5.http.EndpointDetails.getSocketTimeout() to
getSocketTimeoutMillis().
* Deprecate and rename
org.apache.hc.core5.http.MessageHeaders.getAllHeaders() to getHeaders().
* Deprecate and rename
org.apache.hc.core5.http.MessageHeaders.getSingleHeaders(String) to
getHeader(String).

Gary


>
> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to