Skip to content

Commit

Permalink
http2: fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jrudolph committed Oct 15, 2020
1 parent 5e8d629 commit aa35811
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import java.util.concurrent.atomic.AtomicInteger
import akka.annotation.InternalApi
import akka.event.LoggingAdapter
import akka.http.impl.engine.http2.FrameEvent.ParsedHeadersFrame
import akka.http.scaladsl.model.{ ContentTypes, HttpEntity, HttpRequest, RequestResponseAssociation }
import akka.http.scaladsl.model.{ HttpRequest, RequestResponseAssociation }

import scala.collection.immutable.VectorBuilder

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import akka.http.impl.engine.http2.Http2Protocol.{ ErrorCode, Flags, FrameType,
import akka.http.impl.engine.http2.framing.FrameRenderer
import akka.util.{ ByteString, ByteStringBuilder }

trait Http2FrameSending {
def sendBytes(bytes: ByteString)
private[http2] trait Http2FrameSending {
def sendBytes(bytes: ByteString): Unit

def sendFrame(frame: FrameEvent): Unit =
sendBytes(FrameRenderer.render(frame))
Expand Down

0 comments on commit aa35811

Please sign in to comment.