Skip to content

Commit e3cf23d

Browse files
ngocnhan-tran1996jhoeller
authored andcommitted
remove unused keyword
1 parent 07d281c commit e3cf23d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/AbstractMessageConverterMethodArgumentResolver.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ RequestResponseBodyAdviceChain getAdvice() {
116116
/**
117117
* Create the method argument value of the expected parameter type by
118118
* reading from the given request.
119-
* @param <T> the expected type of the argument value to be created
120119
* @param webRequest the current request
121120
* @param parameter the method parameter descriptor (may be {@code null})
122121
* @param paramType the type of the argument value to be created
@@ -125,7 +124,7 @@ RequestResponseBodyAdviceChain getAdvice() {
125124
* @throws HttpMediaTypeNotSupportedException if no suitable message converter is found
126125
*/
127126
@Nullable
128-
protected <T> Object readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter,
127+
protected Object readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter,
129128
Type paramType) throws IOException, HttpMediaTypeNotSupportedException, HttpMessageNotReadableException {
130129

131130
HttpInputMessage inputMessage = createInputMessage(webRequest);

Diff for: spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public Object resolveArgument(MethodParameter parameter, @Nullable ModelAndViewC
169169

170170
@Override
171171
@Nullable
172-
protected <T> Object readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter,
172+
protected Object readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter,
173173
Type paramType) throws IOException, HttpMediaTypeNotSupportedException, HttpMessageNotReadableException {
174174

175175
ServletServerHttpRequest inputMessage = createInputMessage(webRequest);

0 commit comments

Comments
 (0)