Skip to content

Commit 33fc70c

Browse files
committed
Add missing break statements.
1 parent b9678b5 commit 33fc70c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

WordPressAnalytics/src/main/java/org/wordpress/android/analytics/AnalyticsTrackerMixpanel.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,26 +569,31 @@ private AnalyticsTrackerMixpanelInstructionsForStat instructionsForStat(
569569
mixpanelInstructionsForEventName("Stats - Insights Accessed");
570570
instructions.setSuperPropertyAndPeoplePropertyToIncrement("number_of_times_accessed_insights_screen_stats");
571571
instructions.setCurrentDateForPeopleProperty("last_time_accessed_insights_screen_stats");
572+
break;
572573
case STATS_PERIOD_DAYS_ACCESSED:
573574
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
574575
mixpanelInstructionsForEventName("Stats - Period Days Accessed");
575576
instructions.setSuperPropertyAndPeoplePropertyToIncrement("number_of_times_accessed_days_screen_stats");
576577
instructions.setCurrentDateForPeopleProperty("last_time_accessed_days_screen_stats");
578+
break;
577579
case STATS_PERIOD_WEEKS_ACCESSED:
578580
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
579581
mixpanelInstructionsForEventName("Stats - Period Weeks Accessed");
580582
instructions.setSuperPropertyAndPeoplePropertyToIncrement("number_of_times_accessed_weeks_screen_stats");
581583
instructions.setCurrentDateForPeopleProperty("last_time_accessed_weeks_screen_stats");
584+
break;
582585
case STATS_PERIOD_MONTHS_ACCESSED:
583586
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
584587
mixpanelInstructionsForEventName("Stats - Period Months Accessed");
585588
instructions.setSuperPropertyAndPeoplePropertyToIncrement("number_of_times_accessed_months_screen_stats");
586589
instructions.setCurrentDateForPeopleProperty("last_time_accessed_months_screen_stats");
590+
break;
587591
case STATS_PERIOD_YEARS_ACCESSED:
588592
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
589593
mixpanelInstructionsForEventName("Stats - Period Years Accessed");
590594
instructions.setSuperPropertyAndPeoplePropertyToIncrement("number_of_times_accessed_years_screen_stats");
591595
instructions.setCurrentDateForPeopleProperty("last_time_accessed_years_screen_stats");
596+
break;
592597
case STATS_VIEW_ALL_ACCESSED:
593598
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
594599
mixpanelInstructionsForEventName("Stats - View All Accessed");

0 commit comments

Comments
 (0)