Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #105 from rilling/RohanDhiman
Browse files Browse the repository at this point in the history
Change constructor visibility in SpeedOrPace class
  • Loading branch information
rohandhiman03 authored Oct 12, 2023
2 parents 9c52c91 + bdd138e commit d2c7fb5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ public abstract static class SpeedOrPace extends GenericStatisticsViewHolder {

private final boolean reportSpeed;

public SpeedOrPace(boolean reportSpeed) {
//Change this constructor's visibility to protected
// public SpeedOrPace(boolean reportSpeed) {
// this.reportSpeed = reportSpeed;
// }
protected SpeedOrPace(boolean reportSpeed) {
this.reportSpeed = reportSpeed;
}

Expand Down

0 comments on commit d2c7fb5

Please sign in to comment.