diff --git a/src/main/java/de/dennisguse/opentracks/share/DescriptionGenerator.java b/src/main/java/de/dennisguse/opentracks/share/DescriptionGenerator.java index 9f93489d9..d4b943e7b 100644 --- a/src/main/java/de/dennisguse/opentracks/share/DescriptionGenerator.java +++ b/src/main/java/de/dennisguse/opentracks/share/DescriptionGenerator.java @@ -221,16 +221,16 @@ void writePace(Speed speed, StringBuilder builder, int resId, String lineBreak) } /** - * @param altitudeM altitudeM in meters + * @param altitude_M altitude_M in meters * @param builder StringBuilder to append * @param resId resource id of altitude string * @param lineBreak line break string */ @VisibleForTesting - void writeAltitude(double altitudeM, StringBuilder builder, int resId, String lineBreak) { - long altitudeInM = Math.round(altitudeM); - long altitudeInFt = Math.round(Distance.of(altitudeM).toFT()); - builder.append(context.getString(resId, altitudeInM, altitudeInFt)); + void writeAltitude(double altitude_M, StringBuilder builder, int resId, String lineBreak) { + long altitude_M = Math.round(altitude_M); + long altitudeInFt = Math.round(Distance.of(altitude_M).toFT()); + builder.append(context.getString(resId, altitude_M, altitudeInFt)); builder.append(lineBreak); } }