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

fix: use .equals() instead of == for strings #1065

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

yanikapitanov
Copy link
Contributor

Simple fix for string comparison.

From what I could see these changes are already covered by unit tests and I was not sure how to add new ones to test this specific scenario.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@jonathanedey jonathanedey self-requested a review January 27, 2025 21:49
@jonathanedey jonathanedey linked an issue Jan 28, 2025 that may be closed by this pull request
Copy link
Contributor

@jonathanedey jonathanedey left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @yanikapitanov!

As for testing we will add a follow up PR with updated tests.

@jonathanedey jonathanedey merged commit dcd8b9e into firebase:master Jan 28, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

== used instead of .equals() for String comparison
2 participants