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/pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new de4d91951d get rid of scala dependent versions of ScalaBatchable 
(#2837)
de4d91951d is described below

commit de4d91951d7d078146a3a591023067642cf41570
Author: PJ Fanning <[email protected]>
AuthorDate: Sun Apr 5 02:13:58 2026 +0200

    get rid of scala dependent versions of ScalaBatchable (#2837)
---
 .../pekko/dispatch/internal/ScalaBatchable.scala   | 32 ----------------------
 .../pekko/dispatch/internal/ScalaBatchable.scala   |  0
 2 files changed, 32 deletions(-)

diff --git 
a/actor/src/main/scala-3/org/apache/pekko/dispatch/internal/ScalaBatchable.scala
 
b/actor/src/main/scala-3/org/apache/pekko/dispatch/internal/ScalaBatchable.scala
deleted file mode 100644
index cf7fe2acfb..0000000000
--- 
a/actor/src/main/scala-3/org/apache/pekko/dispatch/internal/ScalaBatchable.scala
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * license agreements; and to You under the Apache License, version 2.0:
- *
- *   https://www.apache.org/licenses/LICENSE-2.0
- *
- * This file is part of the Apache Pekko project, which was derived from Akka.
- */
-
-/*
- * Copyright (C) 2009-2022 Lightbend Inc. <https://www.lightbend.com>
- */
-
-package org.apache.pekko.dispatch.internal
-
-import org.apache.pekko
-import pekko.annotation.InternalApi
-
-/**
- * INTERNAL API
- */
-@InternalApi
-private[pekko] object ScalaBatchable {
-
-  // See Scala 2.13 ScalaBatchable for explanation
-  def isBatchable(runnable: Runnable): Boolean = runnable match {
-    case b: pekko.dispatch.Batchable   => b.isBatchable
-    case _: scala.concurrent.Batchable => true
-    case _                             => false
-  }
-
-}
diff --git 
a/actor/src/main/scala-2.13/org/apache/pekko/dispatch/internal/ScalaBatchable.scala
 b/actor/src/main/scala/org/apache/pekko/dispatch/internal/ScalaBatchable.scala
similarity index 100%
rename from 
actor/src/main/scala-2.13/org/apache/pekko/dispatch/internal/ScalaBatchable.scala
rename to 
actor/src/main/scala/org/apache/pekko/dispatch/internal/ScalaBatchable.scala


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to