Consistent javadoc param declarations for type variables
(cherry picked from commit d23893f)
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);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -353,8 +353,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