From fd3ba3afe29a234abe8b1ac3af303b43aff8b560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tear=E4=B8=B6=E6=AE=8B=E9=98=B3?= Date: Thu, 11 Aug 2022 12:52:45 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=B0=83=E6=95=B4=E5=8C=85=E5=90=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../numeron/retrofit/{timout => }/DynamicTimeoutInterceptor.kt | 2 +- .../cn/numeron/retrofit/{url => }/DynamicUrlInterceptor.kt | 2 +- http/src/main/kotlin/cn/numeron/retrofit/{url => }/Port.kt | 2 +- .../kotlin/cn/numeron/retrofit/{timout => }/RequestTimeout.kt | 2 +- http/src/main/kotlin/cn/numeron/retrofit/{url => }/Url.kt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename http/src/main/kotlin/cn/numeron/retrofit/{timout => }/DynamicTimeoutInterceptor.kt (98%) rename http/src/main/kotlin/cn/numeron/retrofit/{url => }/DynamicUrlInterceptor.kt (98%) rename http/src/main/kotlin/cn/numeron/retrofit/{url => }/Port.kt (81%) rename http/src/main/kotlin/cn/numeron/retrofit/{timout => }/RequestTimeout.kt (93%) rename http/src/main/kotlin/cn/numeron/retrofit/{url => }/Url.kt (81%) diff --git a/http/src/main/kotlin/cn/numeron/retrofit/timout/DynamicTimeoutInterceptor.kt b/http/src/main/kotlin/cn/numeron/retrofit/DynamicTimeoutInterceptor.kt similarity index 98% rename from http/src/main/kotlin/cn/numeron/retrofit/timout/DynamicTimeoutInterceptor.kt rename to http/src/main/kotlin/cn/numeron/retrofit/DynamicTimeoutInterceptor.kt index 8489bb7..a7e52a9 100644 --- a/http/src/main/kotlin/cn/numeron/retrofit/timout/DynamicTimeoutInterceptor.kt +++ b/http/src/main/kotlin/cn/numeron/retrofit/DynamicTimeoutInterceptor.kt @@ -1,4 +1,4 @@ -package cn.numeron.retrofit.timout +package cn.numeron.retrofit import okhttp3.Interceptor import okhttp3.Response diff --git a/http/src/main/kotlin/cn/numeron/retrofit/url/DynamicUrlInterceptor.kt b/http/src/main/kotlin/cn/numeron/retrofit/DynamicUrlInterceptor.kt similarity index 98% rename from http/src/main/kotlin/cn/numeron/retrofit/url/DynamicUrlInterceptor.kt rename to http/src/main/kotlin/cn/numeron/retrofit/DynamicUrlInterceptor.kt index dbff9fe..44c3375 100644 --- a/http/src/main/kotlin/cn/numeron/retrofit/url/DynamicUrlInterceptor.kt +++ b/http/src/main/kotlin/cn/numeron/retrofit/DynamicUrlInterceptor.kt @@ -1,4 +1,4 @@ -package cn.numeron.retrofit.url +package cn.numeron.retrofit import okhttp3.HttpUrl import okhttp3.HttpUrl.Companion.toHttpUrl diff --git a/http/src/main/kotlin/cn/numeron/retrofit/url/Port.kt b/http/src/main/kotlin/cn/numeron/retrofit/Port.kt similarity index 81% rename from http/src/main/kotlin/cn/numeron/retrofit/url/Port.kt rename to http/src/main/kotlin/cn/numeron/retrofit/Port.kt index b8e49a3..f2cdfc4 100644 --- a/http/src/main/kotlin/cn/numeron/retrofit/url/Port.kt +++ b/http/src/main/kotlin/cn/numeron/retrofit/Port.kt @@ -1,4 +1,4 @@ -package cn.numeron.retrofit.url +package cn.numeron.retrofit @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.RUNTIME) diff --git a/http/src/main/kotlin/cn/numeron/retrofit/timout/RequestTimeout.kt b/http/src/main/kotlin/cn/numeron/retrofit/RequestTimeout.kt similarity index 93% rename from http/src/main/kotlin/cn/numeron/retrofit/timout/RequestTimeout.kt rename to http/src/main/kotlin/cn/numeron/retrofit/RequestTimeout.kt index e6e5dc4..3acd626 100644 --- a/http/src/main/kotlin/cn/numeron/retrofit/timout/RequestTimeout.kt +++ b/http/src/main/kotlin/cn/numeron/retrofit/RequestTimeout.kt @@ -1,4 +1,4 @@ -package cn.numeron.retrofit.timout +package cn.numeron.retrofit import java.util.concurrent.TimeUnit diff --git a/http/src/main/kotlin/cn/numeron/retrofit/url/Url.kt b/http/src/main/kotlin/cn/numeron/retrofit/Url.kt similarity index 81% rename from http/src/main/kotlin/cn/numeron/retrofit/url/Url.kt rename to http/src/main/kotlin/cn/numeron/retrofit/Url.kt index 5c50267..1b0e0db 100644 --- a/http/src/main/kotlin/cn/numeron/retrofit/url/Url.kt +++ b/http/src/main/kotlin/cn/numeron/retrofit/Url.kt @@ -1,4 +1,4 @@ -package cn.numeron.retrofit.url +package cn.numeron.retrofit @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.RUNTIME)