Skip to content

Commit

Permalink
scala 2.12 compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Jun 8, 2023
1 parent 5275665 commit 61bd52c
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,19 @@

package org.apache.pekko.stream.connectors.jms.impl

import org.apache.pekko.stream.Materializer
import org.apache.pekko.stream.connectors.jms.Destination
import org.apache.pekko
import pekko.annotation.InternalApi
import pekko.stream.Materializer
import pekko.stream.connectors.jms.Destination

import scala.concurrent.duration.FiniteDuration

/**
* Exposes some protected methods from [[org.apache.pekko.stream.stage.GraphStage]]
* that are not accessible when using Scala3 compiler.
*/
private trait GraphStageCompanion {
@InternalApi
private[impl] trait GraphStageCompanion {
def graphStageMaterializer: Materializer

def graphStageDestination: Destination
Expand Down

0 comments on commit 61bd52c

Please sign in to comment.