From 7793feb9981002a7a0075d6500c85f2fa3b3958b Mon Sep 17 00:00:00 2001 From: "Andy.Chen" Date: Fri, 5 Jul 2024 10:43:54 +0800 Subject: [PATCH] chore: fmt and excludes --- .../mima-filters/1.0.x.backwards.excludes/issue-3413.excludes | 1 + .../java/jdocs/typed/tutorial_1/ActorHierarchyExperiments.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/actor-typed/src/main/mima-filters/1.0.x.backwards.excludes/issue-3413.excludes b/actor-typed/src/main/mima-filters/1.0.x.backwards.excludes/issue-3413.excludes index 2d2166515a2..54694e993c2 100644 --- a/actor-typed/src/main/mima-filters/1.0.x.backwards.excludes/issue-3413.excludes +++ b/actor-typed/src/main/mima-filters/1.0.x.backwards.excludes/issue-3413.excludes @@ -1,3 +1,4 @@ +ProblemFilters.exclude[MissingFieldProblem]("org.apache.pekko.actor.typed.scaladsl.Behaviors.Supervise") ProblemFilters.exclude[MissingClassProblem]("org.apache.pekko.actor.typed.scaladsl.Behaviors$Supervise$") ProblemFilters.exclude[MissingClassProblem]("org.apache.pekko.actor.typed.scaladsl.Behaviors$Supervise") ProblemFilters.exclude[MissingClassProblem]("org.apache.pekko.actor.typed.javadsl.Behaviors$Supervise") diff --git a/docs/src/test/java/jdocs/typed/tutorial_1/ActorHierarchyExperiments.java b/docs/src/test/java/jdocs/typed/tutorial_1/ActorHierarchyExperiments.java index 7f3fe2befeb..11e43caed8f 100644 --- a/docs/src/test/java/jdocs/typed/tutorial_1/ActorHierarchyExperiments.java +++ b/docs/src/test/java/jdocs/typed/tutorial_1/ActorHierarchyExperiments.java @@ -120,7 +120,8 @@ private SupervisingActor(ActorContext context) { super(context); child = context.spawn( - Behaviors.supervise(SupervisedActor.create()).onAnyFailure(SupervisorStrategy.restart()), + Behaviors.supervise(SupervisedActor.create()) + .onAnyFailure(SupervisorStrategy.restart()), "supervised-actor"); }