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 #237 - If custom url reporting disabled when it is null. #241

Merged
merged 1 commit into from
Mar 5, 2015

Conversation

cagryInside
Copy link
Contributor

ObaAnalytics.reportEventWithCategory(ObaAnalytics.ObaEventCategory.UI_ACTION.toString(),
getString(R.string.analytics_action_button_press),
getString(R.string.analytics_label_button_press_experimental) + experimentalServers);
if (experimentalServers)
Copy link
Member

Choose a reason for hiding this comment

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

@cagryInside Could you please add braces{ to this IF statement? As a matter of style I prefer to always use them. Also, you might want to check if you have the "reformat code" checkbox checked in the "Commit Changes" view in Android Studio. I think the style template should have automatically reformatted this to include braces.

@barbeau
Copy link
Member

barbeau commented Mar 5, 2015

Thanks @cagryInside! Mostly looks good - one request in-line.

@cagryInside
Copy link
Contributor Author

@barbeau thanks. I will make the same changes in develop branch too.

@barbeau
Copy link
Member

barbeau commented Mar 5, 2015

Thanks!

Also Api region reporting removed from MapStopIcon event as discussed in OneBusAway#233 (comment).
@barbeau
Copy link
Member

barbeau commented Mar 5, 2015

@cagryInside I think this should be good to be merged now?

@cagryInside
Copy link
Contributor Author

@barbeau agreed. Thanks.

barbeau added a commit that referenced this pull request Mar 5, 2015
Fix #237 - If custom url reporting disabled when it is null.
@barbeau barbeau merged commit fb8df7e into OneBusAway:master Mar 5, 2015
@barbeau
Copy link
Member

barbeau commented Mar 5, 2015

Great, thanks @cagryInside!

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.

2 participants