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

   ### 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://github.com/apache/eventmesh/assets/91315508/d66c9b65-39f4-4a8e-89df-3bf4e0afb916)
   located at:
   
eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/catalog/protos/Operation.java
 line 87-89
   analysis and explanation:
   A value is checked here to see whether it is null, but this value can't be 
null because it was previously dereferenced and if it were null a null pointer 
exception would have occurred at the earlier dereference. Essentially, this 
code and the previous dereference disagree as to whether this value is allowed 
to be null. Either the check is redundant or the previous dereference is 
erroneous.
   
   
   ### Describe the solution you'd like
   
   Remove redundant NPE checks.
   
   ### 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