Open HelloThisWorld opened 3 years ago
https://github.com/alibaba/spring-cloud-alibaba/blob/41e65294f5d2accec8c8a4520e67ad2ba2527c1d/spring-cloud-alibaba-starters/spring-cloud-starter-dubbo/src/main/java/com/alibaba/cloud/dubbo/service/parameter/RequestBodyServiceParameterResolver.java#L127-L128
If you are using sonarqube, it will tell you to use this rather than using an internal variable. return arguments[clientRestMethodMetadata.getBodyIndex()];
return arguments[clientRestMethodMetadata.getBodyIndex()];
contributer is welcome
https://github.com/alibaba/spring-cloud-alibaba/blob/41e65294f5d2accec8c8a4520e67ad2ba2527c1d/spring-cloud-alibaba-starters/spring-cloud-starter-dubbo/src/main/java/com/alibaba/cloud/dubbo/service/parameter/RequestBodyServiceParameterResolver.java#L127-L128
If you are using sonarqube, it will tell you to use this rather than using an internal variable.
return arguments[clientRestMethodMetadata.getBodyIndex()];