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

He-Pin 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 526cb8c6d6 deprecation (#3197)
526cb8c6d6 is described below

commit 526cb8c6d6396d859eb83723f0ab006915cf2fd5
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Jun 26 18:00:56 2026 +0100

    deprecation (#3197)
---
 .../apache/pekko/persistence/fsm/japi/pf/FSMStateFunctionBuilder.java | 4 ++--
 .../java/org/apache/pekko/persistence/fsm/japi/pf/FSMStopBuilder.java | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/persistence/src/main/java/org/apache/pekko/persistence/fsm/japi/pf/FSMStateFunctionBuilder.java
 
b/persistence/src/main/java/org/apache/pekko/persistence/fsm/japi/pf/FSMStateFunctionBuilder.java
index 908e25f9b6..ddb157bace 100644
--- 
a/persistence/src/main/java/org/apache/pekko/persistence/fsm/japi/pf/FSMStateFunctionBuilder.java
+++ 
b/persistence/src/main/java/org/apache/pekko/persistence/fsm/japi/pf/FSMStateFunctionBuilder.java
@@ -25,13 +25,13 @@ import scala.PartialFunction;
 /**
  * Builder used to create a partial function for {@link 
org.apache.pekko.actor.FSM#whenUnhandled}.
  *
- * @deprecated use EventSourcedBehavior since Akka 2.6.0
  * @param <S> the state type
  * @param <D> the data type
  * @param <E> the domain event type
+ * @deprecated use EventSourcedBehavior since Akka 2.6.0
  */
 @SuppressWarnings("rawtypes")
-@Deprecated
+@Deprecated(since = "Akka 2.6.0")
 public class FSMStateFunctionBuilder<S, D, E> {
 
   private final PFBuilder<
diff --git 
a/persistence/src/main/java/org/apache/pekko/persistence/fsm/japi/pf/FSMStopBuilder.java
 
b/persistence/src/main/java/org/apache/pekko/persistence/fsm/japi/pf/FSMStopBuilder.java
index f5949f2590..cdaf7fa4b2 100644
--- 
a/persistence/src/main/java/org/apache/pekko/persistence/fsm/japi/pf/FSMStopBuilder.java
+++ 
b/persistence/src/main/java/org/apache/pekko/persistence/fsm/japi/pf/FSMStopBuilder.java
@@ -25,11 +25,11 @@ import scala.runtime.BoxedUnit;
 /**
  * Builder used to create a partial function for {@link 
org.apache.pekko.actor.FSM#onTermination}.
  *
- * @deprecated use EventSourcedBehavior since Akka 2.6.0
  * @param <S> the state type
  * @param <D> the data type
+ * @deprecated use EventSourcedBehavior since Akka 2.6.0
  */
-@Deprecated
+@Deprecated(since = "Akka 2.6.0")
 public class FSMStopBuilder<S, D> {
 
   private 
UnitPFBuilder<org.apache.pekko.persistence.fsm.PersistentFSM.StopEvent<S, D>> 
builder =


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

Reply via email to