Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[firebase_core][firebase_database]Add nil check for some static methods to avoid unwanted behaviors#1279

Merged
cyanglaz merged 1 commit intoflutter:masterfrom
cyanglaz:static_function_improvement
Feb 25, 2019
Merged

[firebase_core][firebase_database]Add nil check for some static methods to avoid unwanted behaviors#1279
cyanglaz merged 1 commit intoflutter:masterfrom
cyanglaz:static_function_improvement

Conversation

@cyanglaz
Copy link
Contributor

After I removed categories in #1226, I missed the nil check.
This PR is to add those nil checks to make the static method behave as the same as the category functions if the parameter is nil, this is a similar fix following up #1274

Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

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

LGTM

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants