This is an automated email from the ASF dual-hosted git repository.
hepin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git
The following commit(s) were added to refs/heads/main by this push:
new 4bfe071ab9 Having `@deprecated` and `@Deprecated` annotations on same
function breaks scala3 build
4bfe071ab9 is described below
commit 4bfe071ab9c0089823d81ca7513966c36f7a92ab
Author: PJ Fanning <[email protected]>
AuthorDate: Sun Sep 3 09:30:08 2023 +0100
Having `@deprecated` and `@Deprecated` annotations on same function breaks
scala3 build
---
stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala | 1 -
stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala | 1 -
stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala | 1 -
stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala | 1 -
4 files changed, 4 deletions(-)
diff --git a/stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala
b/stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala
index 3d10ab4953..f979d1bffc 100755
--- a/stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala
+++ b/stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala
@@ -800,7 +800,6 @@ final class Flow[In, Out, Mat](delegate: scaladsl.Flow[In,
Out, Mat]) extends Gr
* '''Cancels when''' downstream cancels
*/
@deprecated("Use `statefulMap` with `mapConcat` instead.", "1.0.2")
- @Deprecated
def statefulMapConcat[T](
f: function.Creator[function.Function[Out, java.lang.Iterable[T]]]):
javadsl.Flow[In, T, Mat] =
new Flow(delegate.statefulMapConcat { () =>
diff --git a/stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala
b/stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala
index a8fe667767..e2dee057f0 100755
--- a/stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala
+++ b/stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala
@@ -2453,7 +2453,6 @@ final class Source[Out, Mat](delegate:
scaladsl.Source[Out, Mat]) extends Graph[
* '''Cancels when''' downstream cancels
*/
@deprecated("Use `statefulMap` with `mapConcat` instead.", "1.0.2")
- @Deprecated
def statefulMapConcat[T](f: function.Creator[function.Function[Out,
java.lang.Iterable[T]]]): javadsl.Source[T, Mat] =
new Source(delegate.statefulMapConcat { () =>
val fun = f.create()
diff --git
a/stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala
b/stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala
index b9c7d089ab..1b6309ff83 100755
--- a/stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala
+++ b/stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala
@@ -274,7 +274,6 @@ class SubFlow[In, Out, Mat](
* '''Cancels when''' downstream cancels
*/
@deprecated("Use `statefulMap` with `mapConcat` instead.", "1.0.2")
- @Deprecated
def statefulMapConcat[T](f: function.Creator[function.Function[Out,
java.lang.Iterable[T]]]): SubFlow[In, T, Mat] =
new SubFlow(delegate.statefulMapConcat { () =>
val fun = f.create()
diff --git
a/stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala
b/stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala
index 0de91a896a..6104422b66 100755
--- a/stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala
+++ b/stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala
@@ -265,7 +265,6 @@ class SubSource[Out, Mat](
* '''Cancels when''' downstream cancels
*/
@deprecated("Use `statefulMap` with `mapConcat` instead.", "1.0.2")
- @Deprecated
def statefulMapConcat[T](f: function.Creator[function.Function[Out,
java.lang.Iterable[T]]]): SubSource[T, Mat] =
new SubSource(delegate.statefulMapConcat { () =>
val fun = f.create()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]