From c60a95252b67a925285516cf06377ea0441072dd Mon Sep 17 00:00:00 2001 From: Akshay Nandwana Date: Tue, 17 Dec 2024 17:30:30 +0530 Subject: [PATCH] remove unnecessary code (#2942) --- .../google/android/ground/model/submission/DropPinTaskData.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground/src/main/java/com/google/android/ground/model/submission/DropPinTaskData.kt b/ground/src/main/java/com/google/android/ground/model/submission/DropPinTaskData.kt index 48580efc1d..22bd4745e9 100644 --- a/ground/src/main/java/com/google/android/ground/model/submission/DropPinTaskData.kt +++ b/ground/src/main/java/com/google/android/ground/model/submission/DropPinTaskData.kt @@ -26,7 +26,7 @@ data class DropPinTaskData(val location: Point) : GeometryTaskData(location) { // TODO(#752): Move to strings.xml for i18n val df = DecimalFormat("#.##") df.roundingMode = RoundingMode.DOWN - return location.coordinates.toDmsFormat() ?: "" + return location.coordinates.toDmsFormat() } override fun isEmpty(): Boolean = false