fix: use .equals() instead of == for strings by yanikapitanov · Pull Request #1065 · firebase/firebase-admin-java

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@yanikapitanov

Copy link Copy Markdown

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.

@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 Copy Markdown

Collaborator

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jonathanedey jonathanedey jonathanedey approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

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

2 participants

@yanikapitanov @jonathanedey