From abae34581f334a12c0636444e9183dc8cc0dd312 Mon Sep 17 00:00:00 2001 From: Andriy Plokhotnyuk Date: Sat, 11 Jan 2025 13:20:26 +0100 Subject: [PATCH] Remove redundant and useless method --- .../shared/src/main/scala/zio/schema/codec/JsonCodec.scala | 4 ---- 1 file changed, 4 deletions(-) diff --git a/zio-schema-json/shared/src/main/scala/zio/schema/codec/JsonCodec.scala b/zio-schema-json/shared/src/main/scala/zio/schema/codec/JsonCodec.scala index 514cb80aa..bf9559cb5 100644 --- a/zio-schema-json/shared/src/main/scala/zio/schema/codec/JsonCodec.scala +++ b/zio-schema-json/shared/src/main/scala/zio/schema/codec/JsonCodec.scala @@ -645,10 +645,6 @@ object JsonCodec { case Right(value) => Right(value) } - def x[A](dec: ZJsonDecoder[A]): Unit = dec match { - case _: ZJsonDecoder[_] => - } - private[schema] def option[A](A: ZJsonDecoder[A]): ZJsonDecoder[Option[A]] = new ZJsonDecoder[Option[A]] { private[this] val ull: Array[Char] = "ull".toCharArray