gautamsagar99 opened a new pull request, #4383:
URL: https://github.com/apache/eventmesh/pull/4383

   
   
   Fixes #4195 
   
   ### Motivation
   
   To solve below two issues:
   
   1. transient is used to mark fields in a Serializable class which will not 
be written out to file (or stream). In a class that does not implement 
Serializable, this modifier is simply wasted keystrokes, and should be removed.
   2. Dereference of 'subscriptionItems' may produce 'NullPointerException'
   
   ### Modifications
   
   1. I have added a static keyword.
   2. I have added Objects.requireNonNull() for the subscriptionItems list. 
   
   
   ### Documentation
   
   - Does this pull request introduce a new feature?  (no)
   - If yes, how is the feature documented? (not applicable)
   - If a feature is not applicable for documentation, explain why? (Fixed 
small issue)
   


-- 
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: dev-unsubscr...@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@eventmesh.apache.org
For additional commands, e-mail: dev-h...@eventmesh.apache.org

Reply via email to