From 52bc1940f1aa219c2da3bd385ca5b2bc02920e38 Mon Sep 17 00:00:00 2001 From: pricelees Date: Wed, 23 Jul 2025 18:01:31 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=AF=B8=EC=82=AC=EC=9A=A9=20\@Thr?= =?UTF-8?q?ows=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../infrastructure/client/PaymentCancelResponseDeserializer.kt | 2 -- .../payment/infrastructure/client/TossPaymentClient.kt | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/main/kotlin/roomescape/payment/infrastructure/client/PaymentCancelResponseDeserializer.kt b/src/main/kotlin/roomescape/payment/infrastructure/client/PaymentCancelResponseDeserializer.kt index 4ffb1e93..01f7930a 100644 --- a/src/main/kotlin/roomescape/payment/infrastructure/client/PaymentCancelResponseDeserializer.kt +++ b/src/main/kotlin/roomescape/payment/infrastructure/client/PaymentCancelResponseDeserializer.kt @@ -6,13 +6,11 @@ import com.fasterxml.jackson.databind.DeserializationContext import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.deser.std.StdDeserializer import roomescape.payment.web.PaymentCancelResponse -import java.io.IOException import java.time.OffsetDateTime class PaymentCancelResponseDeserializer( vc: Class? = null ) : StdDeserializer(vc) { - @Throws(IOException::class) override fun deserialize( jsonParser: JsonParser, deserializationContext: DeserializationContext? diff --git a/src/main/kotlin/roomescape/payment/infrastructure/client/TossPaymentClient.kt b/src/main/kotlin/roomescape/payment/infrastructure/client/TossPaymentClient.kt index e8ff0abe..5fa16a83 100644 --- a/src/main/kotlin/roomescape/payment/infrastructure/client/TossPaymentClient.kt +++ b/src/main/kotlin/roomescape/payment/infrastructure/client/TossPaymentClient.kt @@ -77,7 +77,6 @@ class TossPaymentClient( } } - @Throws(IOException::class) private fun handlePaymentError( res: ClientHttpResponse ): Nothing { @@ -92,7 +91,6 @@ class TossPaymentClient( ) } - @Throws(IOException::class) private fun getErrorResponse( res: ClientHttpResponse ): TossPaymentErrorResponse {