Alonexc opened a new issue, #2539:
URL: https://github.com/apache/incubator-eventmesh/issues/2539

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Enhancement Request
   
   
![image](https://user-images.githubusercontent.com/91315508/206642285-d9f1ef19-1781-4f81-8b2a-c4aed758c239.png)
   located at:
   
eventmesh-protocol-plugin/eventmesh-protocol-webhook/src/main/java/org/apache/eventmesh/protocol/webhook/WebHookProtocolAdaptor.java
 line 59
   analysis and explanation:
   This method stores the return result in a local variable, and then 
immediately returns the local variable. It would be simpler just to return the 
value that is assigned to the local variable.
   
   ### Describe the solution you'd like
   
   Returns the value of a local variable directly.
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to