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

SONARJAVA-4606 New rule: use String.isEmpty() instead of String.length() == 0 #4925

Merged
merged 4 commits into from
Nov 21, 2024

Conversation

tomasz-tylenda-sonarsource
Copy link
Contributor

@tomasz-tylenda-sonarsource tomasz-tylenda-sonarsource commented Nov 12, 2024

@tomasz-tylenda-sonarsource tomasz-tylenda-sonarsource changed the title SONARJAVA-4606 New rule: use String.isEmpty() instead of String.length() == 0 SONARJAVA-5181 New rule: use String.isEmpty() instead of String.length() == 0 Nov 14, 2024
@tomasz-tylenda-sonarsource tomasz-tylenda-sonarsource force-pushed the tt/rule-isEmpty branch 2 times, most recently from bd2bfaf to 824ae73 Compare November 19, 2024 08:26
@tomasz-tylenda-sonarsource tomasz-tylenda-sonarsource changed the title SONARJAVA-5181 New rule: use String.isEmpty() instead of String.length() == 0 SONARJAVA-4606 New rule: use String.isEmpty() instead of String.length() == 0 Nov 19, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM, great work!

@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource merged commit 8994f83 into master Nov 21, 2024
17 checks passed
@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource deleted the tt/rule-isEmpty branch November 21, 2024 09:00
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.

3 participants