From fa6025a7fcd8b2cdc346e8f74bdba3deac7dd625 Mon Sep 17 00:00:00 2001 From: bvn13 Date: Mon, 26 Sep 2022 14:13:06 +0300 Subject: [PATCH 1/3] Update for next development version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 12851e6..1ed526f 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ GpxAndroidSdk me.bvn13.sdk.android.gpx - 1.0 + 1.1-SNAPSHOT jar From c8c88e63d72a647a86f21e5d9d73087ed55bec35 Mon Sep 17 00:00:00 2001 From: bvn13 Date: Thu, 29 Sep 2022 15:31:09 +0300 Subject: [PATCH 2/3] fix dgpsid validation --- src/main/kotlin/me/bvn13/sdk/android/gpx/WptType.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/me/bvn13/sdk/android/gpx/WptType.kt b/src/main/kotlin/me/bvn13/sdk/android/gpx/WptType.kt index b565482..ed1e6d1 100644 --- a/src/main/kotlin/me/bvn13/sdk/android/gpx/WptType.kt +++ b/src/main/kotlin/me/bvn13/sdk/android/gpx/WptType.kt @@ -158,7 +158,7 @@ class WptType( require(magvar == null || magvar in 0.0..360.0) { "magvar must be degree in (0)..(360) in Double" } - require(dgpsid in 0..1023) { + require(dgpsid == null || dgpsid in 0..1023) { "dgpsid must be in 0..1023" } } From c1d1351189290e1386d46a902fca16ec49c23bdd Mon Sep 17 00:00:00 2001 From: bvn13 Date: Thu, 29 Sep 2022 15:32:18 +0300 Subject: [PATCH 3/3] Update versions for release --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1ed526f..90bae53 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ GpxAndroidSdk me.bvn13.sdk.android.gpx - 1.1-SNAPSHOT + 1.1 jar