Loading app/src/main/java/foundation/e/apps/data/gitlab/GitlabReleaseApi.kt +2 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,8 @@ import retrofit2.http.GET import retrofit2.http.Path /* Those API method client must fit with gitlab releases API https://docs.gitlab.com/ee/api/releases/#download-a-release-asset +These API client methods must conform to the GitLab Releases API. +See: https://docs.gitlab.com/ee/api/releases/#download-a-release-asset */ interface GitlabReleaseApi { Loading app/src/main/java/foundation/e/apps/di/network/InstantJsonAdapter.kt +0 −3 Original line number Diff line number Diff line Loading @@ -5,9 +5,6 @@ import com.squareup.moshi.ToJson import java.time.Instant import java.time.format.DateTimeFormatter //todo Instant is not available in Android API 25 which is the minimum used. // 3 option: replace Instant by another class, use a third party library to make retrocompatibility // or update android minimum api to at least API 26 class InstantJsonAdapter { companion object { Loading Loading
app/src/main/java/foundation/e/apps/data/gitlab/GitlabReleaseApi.kt +2 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,8 @@ import retrofit2.http.GET import retrofit2.http.Path /* Those API method client must fit with gitlab releases API https://docs.gitlab.com/ee/api/releases/#download-a-release-asset +These API client methods must conform to the GitLab Releases API. +See: https://docs.gitlab.com/ee/api/releases/#download-a-release-asset */ interface GitlabReleaseApi { Loading
app/src/main/java/foundation/e/apps/di/network/InstantJsonAdapter.kt +0 −3 Original line number Diff line number Diff line Loading @@ -5,9 +5,6 @@ import com.squareup.moshi.ToJson import java.time.Instant import java.time.format.DateTimeFormatter //todo Instant is not available in Android API 25 which is the minimum used. // 3 option: replace Instant by another class, use a third party library to make retrocompatibility // or update android minimum api to at least API 26 class InstantJsonAdapter { companion object { Loading