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

   ### 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/231701648-fdef241f-0fa1-47b4-9d11-18506f7b04a5.png)
   located at:
   
eventmesh-webhook/eventmesh-webhook-receive/src/main/java/org/apache/eventmesh/webhook/receive/protocol/GithubProtocol.java
 line 59
   analysis and explanation:
   When boxed type java.lang.Boolean is used as an expression to determine the 
control flow it will throw a NullPointerException if the value is null .It is 
safer to avoid such conversion altogether and handle the null value 
explicitly.Note, however, that no issues will be raised for Booleans that have 
already been null-checked.
   
   
   ### Describe the solution you'd like
   
   
![image](https://user-images.githubusercontent.com/91315508/231701700-2fcf116c-0a71-4b62-a0c4-9de08c05a3d7.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