Change code style.

This commit is contained in:
youtaol
2013-08-15 09:45:26 +08:00
parent 863f1373e4
commit 4d8c44782e
@@ -24,6 +24,8 @@ import android.location.Location;
*/
public class CalorieUtils {
private CalorieUtils() {}
/**
* Resting VO2 is constant for everyone and is equal to 3.5 milliliters per
* kilogram of body weight per minute.
@@ -184,14 +186,4 @@ public class CalorieUtils {
return calculateExpenditureFoot(start, stop, grade, weight);
}
}
/**
* Calculates the calorie expenditure of locations in Joule.
*
* @param kcal
* @return
*/
public static double changeKcalToJ(double kcal) {
return kcal * UnitConversions.KCAL_TO_J;
}
}