mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-05 11:03:06 +02:00
Make constant to calculate calorie of cycling to fields. Change coe style.
This commit is contained in:
@@ -575,11 +575,10 @@ public class TripStatistics implements Parcelable {
|
||||
/**
|
||||
* Adds calorie value.
|
||||
*
|
||||
* @param calorie add the value to the total calorie
|
||||
* @param calorieAdded add the value to the total calorie
|
||||
*/
|
||||
@SuppressWarnings("hiding")
|
||||
public void addCalorie(double calorie) {
|
||||
this.calorie += calorie;
|
||||
public void addCalorie(double calorieAdded) {
|
||||
this.calorie += calorieAdded;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user