You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2023/06/27 14:54:49 UTC

[incubator-pekko-persistence-dynamodb] branch main updated: remove scala-collection-compat (#57)

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-dynamodb.git


The following commit(s) were added to refs/heads/main by this push:
     new 4dff4bf  remove scala-collection-compat (#57)
4dff4bf is described below

commit 4dff4bfe3d3a082788014aa3ea5e10c7386b9a78
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Tue Jun 27 15:54:43 2023 +0100

    remove scala-collection-compat (#57)
---
 build.sbt                                           |  1 -
 .../dynamodb/journal/DynamoDBRecovery.scala         | 21 +++++++++++----------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/build.sbt b/build.sbt
index 42d51b6..9eef02a 100644
--- a/build.sbt
+++ b/build.sbt
@@ -42,7 +42,6 @@ libraryDependencies ++= Seq(
   "org.apache.pekko" %% "pekko-persistence" % pekkoVersion,
   "org.apache.pekko" %% "pekko-persistence-query" % pekkoVersion,
   "org.apache.pekko" %% "pekko-stream" % pekkoVersion,
-  "org.scala-lang.modules" %% "scala-collection-compat" % "2.6.0",
   "org.apache.pekko" %% "pekko-persistence-tck" % pekkoVersion % "test",
   "org.apache.pekko" %% "pekko-testkit" % pekkoVersion % "test",
   "org.apache.pekko" %% "pekko-stream-testkit" % pekkoVersion % "test",
diff --git a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBRecovery.scala b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBRecovery.scala
index b385490..d348d17 100644
--- a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBRecovery.scala
+++ b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBRecovery.scala
@@ -13,22 +13,23 @@
 
 package org.apache.pekko.persistence.dynamodb.journal
 
-import org.apache.pekko.NotUsed
-import org.apache.pekko.actor.ExtendedActorSystem
-import org.apache.pekko.dispatch.MessageDispatcher
-import org.apache.pekko.persistence.PersistentRepr
-import org.apache.pekko.persistence.dynamodb._
-import org.apache.pekko.serialization.{ AsyncSerializer, Serialization }
-import org.apache.pekko.stream._
-import org.apache.pekko.stream.scaladsl._
-import org.apache.pekko.stream.stage._
+import org.apache.pekko
+import pekko.NotUsed
+import pekko.actor.ExtendedActorSystem
+import pekko.dispatch.MessageDispatcher
+import pekko.persistence.PersistentRepr
+import pekko.persistence.dynamodb._
+import pekko.serialization.{ AsyncSerializer, Serialization }
+import pekko.stream._
+import pekko.stream.scaladsl._
+import pekko.stream.stage._
+import pekko.util.ccompat.JavaConverters._
 import com.amazonaws.services.dynamodbv2.model._
 
 import java.util.function.Consumer
 import java.util.{ ArrayList, Collections, Map => JMap }
 import scala.collection.immutable
 import scala.concurrent.Future
-import scala.jdk.CollectionConverters._
 
 object DynamoDBRecovery {
   val ItemAttributesForReplay: Seq[String] = Seq(


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org