Skip to content

Conversation

@Bannirui
Copy link
Contributor

Fixes #3105 .

Motivation

NPE check brefore calling a method if there is needed, add NPE check via Objects::requireNonNull.

Modifications

- line 158: EventMeshInstance::getMetaData;
- line 206: EventMeshInstance::getMetaData;
- line 259: String::getBytes

Documentation

  • Does this pull request introduce a new feature? (no)

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to the Apache EventMesh (incubating) community!!
This is your first PR in our project. We're very excited to have you onboard contributing. Your contributions are greatly appreciated!

Please make sure that the changes are covered by tests.
We will be here shortly.
Let us know if you need any help!

Want to get closer to the community?

WeChat Assistant WeChat Public Account Slack
Join Slack Chat

Mailing Lists:

Name Description Subscribe Unsubscribe Archive
Users User support and questions mailing list Subscribe Unsubscribe Mail Archives
Development Development related discussions Subscribe Unsubscribe Mail Archives
Commits All commits to repositories Subscribe Unsubscribe Mail Archives

@codecov
Copy link

codecov bot commented Feb 14, 2023

Codecov Report

Merging #3132 (e2bfb02) into master (e4f2355) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head e2bfb02 differs from pull request most recent head a9931d6. Consider uploading reports for the commit a9931d6 to get more accurate results

@@            Coverage Diff            @@
##             master    #3132   +/-   ##
=========================================
  Coverage     13.10%   13.11%           
  Complexity     1145     1145           
=========================================
  Files           548      548           
  Lines         28624    28627    +3     
  Branches       2861     2861           
=========================================
+ Hits           3751     3754    +3     
  Misses        24550    24550           
  Partials        323      323           
Impacted Files Coverage Δ
...ry/zookeeper/service/ZookeeperRegistryService.java 77.77% <100.00%> (+0.44%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jonyangx jonyangx merged commit 04827e1 into apache:master Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement] Method invocation may produce 'NullPointerException'[ZookeeperRegistryService]

2 participants