diff --git a/pekko-http-jackson/src/main/scala/com/github/pjfanning/pekkohttpjackson/ByteStringInputStream.scala b/pekko-http-jackson/src/main/scala/com/github/pjfanning/pekkohttpjackson/ByteStringInputStream.scala index 9483f30..ef6ed9e 100644 --- a/pekko-http-jackson/src/main/scala/com/github/pjfanning/pekkohttpjackson/ByteStringInputStream.scala +++ b/pekko-http-jackson/src/main/scala/com/github/pjfanning/pekkohttpjackson/ByteStringInputStream.scala @@ -26,7 +26,7 @@ import org.apache.pekko import pekko.util.ByteString import pekko.util.ByteString.ByteString1C -private[pekkohttpjackson] final object ByteStringInputStream { +private[pekkohttpjackson] object ByteStringInputStream { private val byteStringInputStreamMethodTypeOpt = Try { val lookup = MethodHandles.publicLookup() val inputStreamMethodType = MethodType.methodType(classOf[InputStream]) diff --git a/pekko-http-play-json/src/main/scala/com/github/pjfanning/pekkohttpplayjson/ByteStringInputStream.scala b/pekko-http-play-json/src/main/scala/com/github/pjfanning/pekkohttpplayjson/ByteStringInputStream.scala index 602e610..952e79b 100644 --- a/pekko-http-play-json/src/main/scala/com/github/pjfanning/pekkohttpplayjson/ByteStringInputStream.scala +++ b/pekko-http-play-json/src/main/scala/com/github/pjfanning/pekkohttpplayjson/ByteStringInputStream.scala @@ -24,7 +24,7 @@ import java.io.{ ByteArrayInputStream, InputStream } import java.lang.invoke.{ MethodHandles, MethodType } import scala.util.Try -private[pekkohttpplayjson] final object ByteStringInputStream { +private[pekkohttpplayjson] object ByteStringInputStream { private val byteStringInputStreamMethodTypeOpt = Try { val lookup = MethodHandles.publicLookup() val inputStreamMethodType = MethodType.methodType(classOf[InputStream])