From 40f25f161ff38fd74229af5d994d8143ce7bb6c7 Mon Sep 17 00:00:00 2001 From: He-Pin Date: Tue, 18 Jun 2024 12:40:30 +0800 Subject: [PATCH] chore: Fix typo in LARS comments --- .../org/apache/pekko/actor/LightArrayRevolverScheduler.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actor/src/main/scala/org/apache/pekko/actor/LightArrayRevolverScheduler.scala b/actor/src/main/scala/org/apache/pekko/actor/LightArrayRevolverScheduler.scala index f56b8c00ffa..c82969ba592 100644 --- a/actor/src/main/scala/org/apache/pekko/actor/LightArrayRevolverScheduler.scala +++ b/actor/src/main/scala/org/apache/pekko/actor/LightArrayRevolverScheduler.scala @@ -198,7 +198,7 @@ class LightArrayRevolverScheduler(config: Config, log: LoggingAdapter, threadFac private val queue = new TaskQueue private def schedule(ec: ExecutionContext, r: Runnable, delay: FiniteDuration): TimerTask = - if (delay.length <= 0L) { // use simple comparision instead of Ordering for performance + if (delay.length <= 0L) { // use simple comparison instead of Ordering for performance if (stopped.get != null) throw SchedulerException("cannot enqueue after timer shutdown") ec.execute(r) NotCancellable