jenkinsci / datadog-plugin

A Jenkins plugin used to forward metrics, events, and service checks to an account at Datadog, automatically.
https://plugins.jenkins.io/datadog/
MIT License
30 stars 48 forks source link

Update @Nullable/@NonNull annotations #391

Open nikita-tkachenko-datadog opened 6 months ago

nikita-tkachenko-datadog commented 6 months ago

Requirements for Contributing to this repository

What does this PR do?

A cosmetic improvement: some @Nullable and @NonNull annotations are updated to better reflect whether certain methods can or cannot return null values. This helps to understand the code better and avoid NullPointerException.

Description of the Change

Alternate Designs

Possible Drawbacks

Verification Process

Additional Notes

Release Notes

Review checklist (to be filled by reviewers)