remove unused keyword

This commit is contained in:
Tran Ngoc Nhan 2024-09-26 03:43:44 +07:00 committed by Juergen Hoeller
parent 07d281c6d8
commit e3cf23d15a
2 changed files with 2 additions and 3 deletions

View File

@ -116,7 +116,6 @@ public abstract class AbstractMessageConverterMethodArgumentResolver implements
/**
* Create the method argument value of the expected parameter type by
* reading from the given request.
* @param <T> the expected type of the argument value to be created
* @param webRequest the current request
* @param parameter the method parameter descriptor (may be {@code null})
* @param paramType the type of the argument value to be created
@ -125,7 +124,7 @@ public abstract class AbstractMessageConverterMethodArgumentResolver implements
* @throws HttpMediaTypeNotSupportedException if no suitable message converter is found
*/
@Nullable
protected <T> Object readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter,
protected Object readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter,
Type paramType) throws IOException, HttpMediaTypeNotSupportedException, HttpMessageNotReadableException {
HttpInputMessage inputMessage = createInputMessage(webRequest);

View File

@ -169,7 +169,7 @@ public class RequestResponseBodyMethodProcessor extends AbstractMessageConverter
@Override
@Nullable
protected <T> Object readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter,
protected Object readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter,
Type paramType) throws IOException, HttpMediaTypeNotSupportedException, HttpMessageNotReadableException {
ServletServerHttpRequest inputMessage = createInputMessage(webRequest);