Skip to content

Conversation

@pugnascotia
Copy link
Contributor

@pugnascotia pugnascotia commented Feb 8, 2021

Backport of #68677

Enforce the == false style of boolean negation via Checkstyle all the time in 7.x, while also fixing the last usages of !.

Having fixed all the uses of `!` for boolean negation, now enforce the `== false`
style via Checkstyle all the time.
@elasticmachine elasticmachine added the Team:Delivery Meta label for Delivery team label Feb 8, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

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

LGTM

@mark-vieira mark-vieira changed the title Enable BooleanNegation checkstyle rule always [7.x] Enable BooleanNegation checkstyle rule always Feb 8, 2021
@pugnascotia pugnascotia merged commit 713cf88 into elastic:7.x Feb 9, 2021
@pugnascotia pugnascotia deleted the equality-with-false-part11-7x branch February 9, 2021 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Delivery/Tooling Developer tooliing and automation >enhancement >refactoring Team:Delivery Meta label for Delivery team v7.12.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants