Skip to content
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

Rename all methods IsEmpty to Empty to be consistent with all codebase #6409

Merged
merged 6 commits into from
Jun 11, 2020

Conversation

jgimeno
Copy link
Contributor

@jgimeno jgimeno commented Jun 11, 2020

Description

related: #6404

Looks like sometimes we use Empty, others IsEmpty, I think consistency is a nice thing to have, so here is a little bit of it!


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer

@jgimeno jgimeno added Type: Code Hygiene General cleanup and restructuring of code to provide clarity, flexibility, and modularity. R4R labels Jun 11, 2020
@jgimeno jgimeno marked this pull request as ready for review June 11, 2020 14:29
@codecov
Copy link

codecov bot commented Jun 11, 2020

Codecov Report

Merging #6409 into master will not change coverage.
The diff coverage is 85.71%.

@@           Coverage Diff           @@
##           master    #6409   +/-   ##
=======================================
  Coverage   55.55%   55.55%           
=======================================
  Files         465      465           
  Lines       27526    27526           
=======================================
  Hits        15293    15293           
  Misses      11134    11134           
  Partials     1099     1099           

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@alessio alessio left a comment

Choose a reason for hiding this comment

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

@alexanderbez comment on CHANGELOG needs addressing though, looks good otherwise

@alessio alessio changed the title Eename all methods IsEmpty to Empty to be consistent with all codebase Rename all methods IsEmpty to Empty to be consistent with all codebase Jun 11, 2020
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
@alessio alessio requested a review from tac0turtle June 11, 2020 19:57
Copy link
Member

@tac0turtle tac0turtle left a comment

Choose a reason for hiding this comment

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

love consistency

@tac0turtle tac0turtle merged commit b09d672 into master Jun 11, 2020
@tac0turtle tac0turtle deleted the jonathan/unify-empty-method branch June 11, 2020 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Code Hygiene General cleanup and restructuring of code to provide clarity, flexibility, and modularity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants