PreetAngadSingh opened a new pull request, #3131: URL: https://github.com/apache/incubator-eventmesh/pull/3131
Fixes #3106 Method: public static <T> T requireNonNull(T obj, String message) The Objects.requireNonNull() method is used to check that the values associated with the keys CONSTANTS_KEY_HEADERS and CONSTANTS_KEY_BODY are not null before calling the JsonUtils.serialize and getBytes methods on them. If either of the values is null, the method throws a NullPointerException with the specified error message. line 105 : added requireNonNull method and message "Headers must not be null"); line 106 : added requireNonNull method and message "Bodymust not be null"); - Does this pull request introduce a new feature? (no) -- 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]
