@ -188,7 +187,7 @@ public class QualifierAnnotationAutowireCandidateResolver extends GenericTypeAwa
@@ -188,7 +187,7 @@ public class QualifierAnnotationAutowireCandidateResolver extends GenericTypeAwa
foundMeta=true;
// Only accept fallback match if @Qualifier annotation has a value...
// Otherwise it is just a marker for a custom qualifier annotation.
@ -263,7 +264,7 @@ public class DefaultStompSession implements ConnectionHandlingStompSession {
@@ -263,7 +264,7 @@ public class DefaultStompSession implements ConnectionHandlingStompSession {
@ -129,10 +129,10 @@ public class RequestPartMethodArgumentResolver extends AbstractMessageReaderArgu
@@ -129,10 +129,10 @@ public class RequestPartMethodArgumentResolver extends AbstractMessageReaderArgu
if(requestPart!=null){
name=requestPart.name();
}
if(StringUtils.isEmpty(name)){
if(!StringUtils.hasLength(name)){
name=methodParam.getParameterName();
}
if(StringUtils.isEmpty(name)){
if(!StringUtils.hasLength(name)){
thrownewIllegalArgumentException("Request part name for argument type ["+
methodParam.getNestedParameterType().getName()+
"] not specified, and parameter name information not found in class file either.");