yhs0092 commented on a change in pull request #1235:  
[SCB-1291]supportApiOperationMethodOverride
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1235#discussion_r300214841
 
 

 ##########
 File path: 
providers/provider-pojo/src/main/java/org/apache/servicecomb/provider/pojo/Invoker.java
 ##########
 @@ -158,6 +161,16 @@ public Object invoke(Object proxy, Method method, 
Object[] args) {
     return syncInvoke(invocation, consumerOperation);
   }
 
+  protected String findSwaggerMethodName(Method consumerMethod) {
+    ApiOperation apiOperationAnnotation = 
consumerMethod.getAnnotation(ApiOperation.class);
+    if (apiOperationAnnotation == null || org.apache.commons.lang3.StringUtils
+        .isEmpty(apiOperationAnnotation.nickname())) {
 
 Review comment:
   Hi, since the `org.springframework.util.StringUtils` has been imported, 
there is no need to use `org.apache.commons.lang3.StringUtils`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to