Skip to content

Commit

Permalink
fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgfraser committed Oct 11, 2023
1 parent 48c5a1f commit b4b9ec4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion zio-http/src/main/scala/zio/http/Header.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4325,7 +4325,7 @@ object Header {

def parse(value: String): Either[String, WWWAuthenticate] =
Try {
val challengeRegEx(scheme, challenge) = value
val challengeRegEx(scheme, challenge) = (value: @unchecked)
val params = auth
.findAllMatchIn(challenge)
.map { m =>
Expand Down
2 changes: 1 addition & 1 deletion zio-http/src/main/scala/zio/http/Path.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import zio.{Chunk, ChunkBuilder}
* whether there are leading and trailing slashes in the path. This allows for a
* combination of precision and performance and supports a rich API.
*/
final case class Path private (flags: Path.Flags, segments: Chunk[String]) { self =>
final case class Path private[http] (flags: Path.Flags, segments: Chunk[String]) { self =>
import Path.{Flag, Flags}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import io.netty.channel.{Channel, ChannelFactory, ChannelHandler, EventLoopGroup
import io.netty.handler.codec.http.websocketx.{WebSocketClientProtocolHandler, WebSocketFrame => JWebSocketFrame}
import io.netty.handler.codec.http.{FullHttpRequest, HttpObjectAggregator}

final case class NettyClientDriver private (
final case class NettyClientDriver private[netty] (
channelFactory: ChannelFactory[Channel],
eventLoopGroup: EventLoopGroup,
nettyRuntime: NettyRuntime,
Expand Down

0 comments on commit b4b9ec4

Please sign in to comment.