forked from upstream-mirrors/OpenTracks
Change code style of SettingTest.testChangePreferredUnits.
This commit is contained in:
@@ -119,8 +119,7 @@ public class ChartView extends View {
|
||||
private int effectiveHeight = 0;
|
||||
|
||||
private boolean chartByDistance = true;
|
||||
@VisibleForTesting
|
||||
public boolean metricUnits = true;
|
||||
private boolean metricUnits = true;
|
||||
private boolean reportSpeed = true;
|
||||
private boolean showPointer = false;
|
||||
|
||||
@@ -1001,4 +1000,14 @@ public class ChartView extends View {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the status of metricUnits.
|
||||
*
|
||||
* @return the status of metricUnits
|
||||
*/
|
||||
@VisibleForTesting
|
||||
public boolean isMetricUnits() {
|
||||
return metricUnits;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user