Commit 8a3774a
authored
refactor: remove deprecated RepointableActorRef.isTerminated (since Akka 2.2) (#3289)
Motivation:
The public isTerminated method on RepointableActorRef was deprecated since
Akka 2.2 in favor of using context.watch(actor) and receiving Terminated(actor).
Modification:
Remove the deprecated public isTerminated method. The private[pekko] version
from the ActorRef trait remains available for internal use.
Result:
Cleaner public API. Internal callers are unaffected as they use the
private[pekko] ActorRef.isTerminated.
Tests:
Not run - trivial removal of long-deprecated method
References:
None - deprecated API cleanup1 parent 59dadc1 commit 8a3774a
3 files changed
Lines changed: 3 additions & 6 deletions
File tree
- actor/src/main/scala/org/apache/pekko
- actor
- routing
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | 162 | | |
164 | 163 | | |
165 | 164 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | 95 | | |
98 | 96 | | |
99 | 97 | | |
| |||
0 commit comments