Skip to content

Conversation

@jiakuanghe
Copy link
Contributor

Fixes #537

[Improve code readability] Replace the two boolean variables that control the visibility of security warnings with a single boolean variable (#537)

  • Delete the old internal variable showWarnings and its existing getter read the negated value of the new variable hideWarnings.
  • 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

…trol the visibility of security warnings with a single boolean variable (jenkinsci#537)

- Delete the old internal variable `showWarnings` and its existing getter read the negated value of the new variable `hideWarnings`.
Copy link

@freyam freyam left a comment

Choose a reason for hiding this comment

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

LGTM. Great work @jiakuanghe 🚀

Copy link

@julien-demaziere julien-demaziere left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants