Skip to content

Commit

Permalink
import Throws いらないらしいので削除
Browse files Browse the repository at this point in the history
  • Loading branch information
warahiko committed Oct 1, 2020
1 parent b2bb3e1 commit 08c6e93
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.example.openapigenerationtestapi.infrastructure
import com.squareup.moshi.JsonDataException
import com.squareup.moshi.Moshi
import retrofit2.Response
import kotlin.jvm.Throws

@Throws(JsonDataException::class)
inline fun <reified T> Response<*>.getErrorResponse(serializerBuilder: Moshi.Builder = Serializer.moshiBuilder): T? {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import java.io.IOException
import okhttp3.Interceptor
import okhttp3.Interceptor.Chain
import okhttp3.Response
import kotlin.jvm.Throws

class HttpBearerAuth(
private var schema: String = "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import com.google.gson.GsonBuilder
import com.google.gson.JsonParseException
{{/gson}}
import retrofit2.Response
import kotlin.jvm.Throws

{{#moshi}}
@Throws(JsonDataException::class)
Expand Down

0 comments on commit 08c6e93

Please sign in to comment.