Skip to content

Commit

Permalink
chore: use ne rather than !=
Browse files Browse the repository at this point in the history
  • Loading branch information
Roiocam committed Jul 18, 2024
1 parent cb67d66 commit 7c80c1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ private[pekko] class ActorCell(
Thread.currentThread().interrupt()
throw ActorInitializationException(self, "interruption during creation", e)
case NonFatal(e) =>
if (actor != null) setFailed(actor.self)
if (actor ne null) setFailed(actor.self)
failActor()
e match {
case i: InstantiationException =>
Expand Down

0 comments on commit 7c80c1f

Please sign in to comment.