Skip to content

Conversation

@pickypg
Copy link
Member

@pickypg pickypg commented Aug 29, 2016

This updates the docs to reflect that the asynchronous variants were renamed to have "Async" at the end.

It also adds some other minor details that I noticed along the way.

@pickypg pickypg added >docs General docs changes review :Clients/Java Low Level REST Client Minimal dependencies Java Client for Elasticsearch v5.0.0-beta1 labels Aug 29, 2016
@pickypg
Copy link
Member Author

pickypg commented Aug 29, 2016

/cc @javanna I added the docs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it really not 2xx or is it 4xx or 5xx ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not 2xx as it currently exists:

return statusCode < 300 || (HttpHead.METHOD_NAME.equals(method) && statusCode == 404);

That honestly makes sense because it also excludes any possibility of 3xx.

@javanna
Copy link
Member

javanna commented Aug 29, 2016

thanks a lot @pickypg LGTM besides the two comments I left

@javanna
Copy link
Member

javanna commented Aug 30, 2016

LGTM thanks @pickypg

@pickypg pickypg removed the review label Aug 30, 2016
This updates the docs to reflect that the asynchronous variants were renamed to have "Async" at the end.
@pickypg pickypg force-pushed the docs/desribe-renamed-async-methods branch from 9e53963 to 6ad92c0 Compare August 30, 2016 15:30
@pickypg pickypg merged commit 6ad92c0 into elastic:master Aug 30, 2016
@pickypg pickypg deleted the docs/desribe-renamed-async-methods branch August 30, 2016 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Clients/Java Low Level REST Client Minimal dependencies Java Client for Elasticsearch >docs General docs changes v5.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants