New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in RequestEntity<T>'s javadoc [SPR-13666] #18241

Closed
spring-issuemaster opened this Issue Nov 10, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

spring-issuemaster commented Nov 10, 2015

Manuel Jordan opened SPR-13666 and commented

Hello

In RequestEntity says

RequestEntity<MyRequest> request = RequestEntity.post(new URI("http://example.com/bar").accept(MediaType.APPLICATION_JSON).body(body);

Must be

RequestEntity<MyRequest> request = RequestEntity.post(new URI("http://example.com/bar")).accept(MediaType.APPLICATION_JSON).body(body);

Affects: 4.1 GA, 4.2 GA

Backported to: 4.1.9

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

spring-issuemaster commented Nov 10, 2015

Manuel Jordan commented

Other error

says:

URI uri = new UriTemplate("http://example.com/{foo}"").expand("bar");

Must be

URI uri = new UriTemplate("http://example.com/{foo}").expand("bar");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment