From f69fcf7eca3f0e058f4fba521fa84739cae1c175 Mon Sep 17 00:00:00 2001 From: Hossain Khan Date: Thu, 21 Dec 2023 21:47:15 -0500 Subject: [PATCH] [FIXED] Ktlint issues --- .idea/codeStyles/Project.xml | 2 ++ .idea/codeStyles/codeStyleConfig.xml | 1 - src/main/kotlin/dev/hossain/time/ZonedDateTimeExtension.kt | 1 - .../kotlin/dev/hossain/githubstats/util/ErrorProcessorTest.kt | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 1bec35e..57a0478 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -1,6 +1,8 @@ + diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml index 6e6eec1..79ee123 100644 --- a/.idea/codeStyles/codeStyleConfig.xml +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -1,6 +1,5 @@ \ No newline at end of file diff --git a/src/main/kotlin/dev/hossain/time/ZonedDateTimeExtension.kt b/src/main/kotlin/dev/hossain/time/ZonedDateTimeExtension.kt index 472e6eb..5d0d637 100644 --- a/src/main/kotlin/dev/hossain/time/ZonedDateTimeExtension.kt +++ b/src/main/kotlin/dev/hossain/time/ZonedDateTimeExtension.kt @@ -1,6 +1,5 @@ package dev.hossain.time -import java.time.ZoneId import java.time.ZonedDateTime import java.time.format.DateTimeFormatter import java.time.format.FormatStyle diff --git a/src/test/kotlin/dev/hossain/githubstats/util/ErrorProcessorTest.kt b/src/test/kotlin/dev/hossain/githubstats/util/ErrorProcessorTest.kt index 15aaeb8..3eeab2c 100644 --- a/src/test/kotlin/dev/hossain/githubstats/util/ErrorProcessorTest.kt +++ b/src/test/kotlin/dev/hossain/githubstats/util/ErrorProcessorTest.kt @@ -4,7 +4,6 @@ import com.google.common.truth.Truth.assertThat import okhttp3.MediaType.Companion.toMediaTypeOrNull import okhttp3.ResponseBody.Companion.toResponseBody import org.junit.jupiter.api.AfterEach -import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import retrofit2.HttpException