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

   ### 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/215704316-015f8cf3-69aa-4fd3-95d1-3b2e28fa19d6.png)
   located at:
   
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/consumer/EventMeshConsumer.java
 line 269,277,293
   analysis and explanation:
   This method calls the equals(Object) method on an enum instance. Since enums 
values are singletons, you can use == to safely compare two enum values. In 
fact, the implementation for Enum.equals does just that.
   
   
   ### Describe the solution you'd like
   
   e.g.
   
![image](https://user-images.githubusercontent.com/91315508/215704378-1264e79a-0a0a-47b5-a76f-46c2014402f0.png)
   
   
   ### 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