Skip to content

avoid some NPE on generateSnippet #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2025
Merged

avoid some NPE on generateSnippet #192

merged 1 commit into from
Feb 7, 2025

Conversation

chcg
Copy link

@chcg chcg commented Dec 2, 2024

fix #190

  • added nullpointer checks
  • consolidation of usage @NonNull vs. @Nonnull

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@chcg chcg requested a review from a team as a code owner December 2, 2024 13:01
@chcg chcg changed the title avoid NPE on generateSnippet avoid some NPE on generateSnippet Dec 2, 2024
- consolidation of usage @nonnull vs. @nonnull
@chcg chcg merged commit 8ee0248 into jenkinsci:master Feb 7, 2025
17 checks passed
@chcg chcg deleted the issue_190 branch February 7, 2025 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPE on pipeline generateSnippet
2 participants