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

Replace isEmpty/isNotEmpty for presumed simple getters #282

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

timtebeek
Copy link
Contributor

What's changed?

Now also replace isEmpty and isNotEmpty when argument looks like a getter call.

What's your motivation?

Additional cleanups for frequent cases, as discovered through Moderne.

Anything in particular you'd like reviewers to focus on?

Anything else we'd want to verify?

Have you considered any alternatives or workarounds?

We could leave these in, or migrate these to one of the three implementations.

Any additional context

https://issues.apache.org/jira/browse/MNG-6825
https://issues.apache.org/jira/browse/MNG-6829

@timtebeek timtebeek self-assigned this Aug 30, 2023
@timtebeek timtebeek merged commit 706a771 into main Aug 30, 2023
@timtebeek timtebeek deleted the replace_isEmpty_for_getters branch August 30, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant