Consistent javadoc param declarations for type variables

(cherry picked from commit d23893f)
This commit is contained in:
Juergen Hoeller
2015-03-25 00:44:01 +01:00
parent ca09eb2c59
commit 52ed9b7106
23 changed files with 75 additions and 94 deletions

View File

@@ -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);

View File

@@ -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);