Consistent javadoc param declarations for type variables
This commit is contained in:
@@ -325,8 +325,8 @@ public class RequestEntity<T> extends HttpEntity<T> {
|
||||
|
||||
/**
|
||||
* Set the body of the request entity and build the RequestEntity.
|
||||
* @param body the body of the request entity
|
||||
* @param <T> the type of the body
|
||||
* @param body the body of the request entity
|
||||
* @return the built request entity
|
||||
*/
|
||||
<T> RequestEntity<T> body(T body);
|
||||
|
||||
@@ -368,8 +368,8 @@ public class ResponseEntity<T> extends HttpEntity<T> {
|
||||
|
||||
/**
|
||||
* Set the body of the response entity and returns it.
|
||||
* @param body the body of the response entity
|
||||
* @param <T> the type of the body
|
||||
* @param body the body of the response entity
|
||||
* @return the built response entity
|
||||
*/
|
||||
<T> ResponseEntity<T> body(T body);
|
||||
|
||||
Reference in New Issue
Block a user