Skip to content

Commit

Permalink
More scala3 work (cassandra / azure) (#130)
Browse files Browse the repository at this point in the history
* scala3 support for cassandra connector

* try azure connector
  • Loading branch information
pjfanning committed Jun 10, 2023
1 parent 16c2202 commit 8ebafac
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ import scala.collection.mutable.Queue
setHandler(
out,
new OutHandler {
override def onPull: Unit =
override def onPull(): Unit =
if (!buffer.isEmpty) {
push(out, buffer.dequeue())
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import scala.concurrent.duration._

final class CassandraSessionSpec extends CassandraSpecBase(ActorSystem("CassandraSessionSpec")) {

val log = Logging(system, this.getClass)
val log = Logging(system, classOf[CassandraSessionSpec])
val javadslSessionRegistry = javadsl.CassandraSessionRegistry.get(system)

val data = 1 until 103
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import scala.concurrent.duration._

final class CassandraSessionPerformanceSpec extends CassandraSpecBase(ActorSystem("CassandraSessionPerformanceSpec")) {

val log = Logging(system, this.getClass)
val log = Logging(system, classOf[CassandraSessionPerformanceSpec])

val data = 1 to 5 * 1000 * 1000

Expand Down
2 changes: 0 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ object Dependencies {
ExclusionRule("software.amazon.awssdk", "netty-nio-client"))) ++ Mockito)

val AzureStorageQueue = Seq(
crossScalaVersions -= Scala3,
libraryDependencies ++= Seq(
"com.microsoft.azure" % "azure-storage" % "8.0.0" // ApacheV2
))
Expand All @@ -116,7 +115,6 @@ object Dependencies {
val CassandraDriverVersionInDocs = "4.15"

val Cassandra = Seq(
crossScalaVersions -= Scala3,
libraryDependencies ++= Seq(
("com.datastax.oss" % "java-driver-core" % CassandraDriverVersion)
.exclude("com.github.spotbugs", "spotbugs-annotations")
Expand Down

0 comments on commit 8ebafac

Please sign in to comment.