Skip to content

Commit

Permalink
Update CollectionUtil.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Sep 21, 2024
1 parent f60e23c commit b0ff173
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package javadsl
import scala.collection.immutable

import org.apache.pekko
import pekko.util.japi.Util
import pekko.japi.Util.immutableSeq

/**
* INTERNAL API
Expand All @@ -30,8 +30,8 @@ import pekko.util.japi.Util
*/
private[javadsl] object CollectionUtil {
@inline def toSeq[T](jlist: java.util.List[T]): immutable.Seq[T] =
Util.immutableSeq(jlist)
immutableSeq(jlist)

@inline def toSeq[T](jiterable: java.lang.Iterable[T]): immutable.Seq[T] =
Util.immutableSeq(jiterable)
immutableSeq(jiterable)
}

0 comments on commit b0ff173

Please sign in to comment.