Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Throw in tests when getting onGeoQueryError. #116

Merged
merged 1 commit into from Dec 22, 2017
Merged

Throw in tests when getting onGeoQueryError. #116

merged 1 commit into from Dec 22, 2017

Conversation

vanniktech
Copy link
Contributor

Part of #101

@@ -74,7 +74,6 @@ public void onGeoQueryReady() {

@Override
public void onGeoQueryError(DatabaseError error) {

throw error.toException();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've noticed that this is using 2 spaces which is part of the Java Google Style Guide. I also prefer 2 spaces. Should we change it everywhere or was this a mistake?

Copy link
Contributor

Choose a reason for hiding this comment

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

Was probably a mistake, I prefer 4 spaces but was using a new version of IntelliJ I had not set up.

@samtstern samtstern merged commit f70644f into firebase:master Dec 22, 2017
@vanniktech vanniktech deleted the throw branch December 22, 2017 17:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants