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 0830f58d28 fix: correct various typos across pekko modules (#3084)
0830f58d28 is described below
commit 0830f58d28e9bdeec56f781f52b90d69817db0c6
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Fri Jun 19 16:51:54 2026 +0800
fix: correct various typos across pekko modules (#3084)
* fix: correct various typos across pekko modules
Motivation:
Several typos were found in comments, strings, and a package name.
Modification:
- Fix package name: adpater → adapter in actor-typed-tests
- Fix typos: doesnt→doesn't, sandwitch→sandwich, noone→no one, hask→hash
Result:
Cleaner codebase with corrected spelling.
Tests:
Not run - typo fixes only (comments, strings, package rename)
References:
None - typo cleanup
* fix: revert two typo corrections per CR review feedback
Motivation:
CR reviewer pointed out that two changes were incorrect:
1. "noone" in RemoteDeathWatchSpec is a path segment, not a word
2. "doesnt" in FileSinkSpec is a file path where the apostrophe
may affect the test
Modification:
Revert "no one" back to "noone" in RemoteDeathWatchSpec.scala
Revert "doesn't" back to "doesnt" in FileSinkSpec.scala
Result:
Path segments remain unchanged, tests unaffected.
Tests:
Not run - reverting incorrect changes
References:
Refs apache/pekko#3084
---
.../actor/typed/internal/{adpater => adapter}/PropsAdapterSpec.scala | 2 +-
.../java/org/apache/pekko/remote/artery/compress/CountMinSketch.java | 2 +-
.../org/apache/pekko/stream/impl/fusing/GraphInterpreterSpecKit.scala | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/internal/adpater/PropsAdapterSpec.scala
b/actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/internal/adapter/PropsAdapterSpec.scala
similarity index 97%
rename from
actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/internal/adpater/PropsAdapterSpec.scala
rename to
actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/internal/adapter/PropsAdapterSpec.scala
index bd5cccfef0..c0c554e355 100644
---
a/actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/internal/adpater/PropsAdapterSpec.scala
+++
b/actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/internal/adapter/PropsAdapterSpec.scala
@@ -11,7 +11,7 @@
* Copyright (C) 2019-2022 Lightbend Inc. <https://www.lightbend.com>
*/
-package org.apache.pekko.actor.typed.internal.adpater
+package org.apache.pekko.actor.typed.internal.adapter
import org.apache.pekko
import pekko.actor
diff --git
a/remote/src/main/java/org/apache/pekko/remote/artery/compress/CountMinSketch.java
b/remote/src/main/java/org/apache/pekko/remote/artery/compress/CountMinSketch.java
index 737841dff3..c936770d2a 100644
---
a/remote/src/main/java/org/apache/pekko/remote/artery/compress/CountMinSketch.java
+++
b/remote/src/main/java/org/apache/pekko/remote/artery/compress/CountMinSketch.java
@@ -65,7 +65,7 @@ public class CountMinSketch {
}
/**
- * Similar to {@code add}, however we reuse the fact that the hask buckets
have to be calculated
+ * Similar to {@code add}, however we reuse the fact that the hash buckets
have to be calculated
* for {@code add} already, and a separate {@code estimateCount} operation
would have to calculate
* them again, so we do it all in one go.
*/
diff --git
a/stream-testkit/src/test/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreterSpecKit.scala
b/stream-testkit/src/test/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreterSpecKit.scala
index b696708a83..b335c6357f 100644
---
a/stream-testkit/src/test/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreterSpecKit.scala
+++
b/stream-testkit/src/test/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreterSpecKit.scala
@@ -524,8 +524,8 @@ trait GraphInterpreterSpecKit extends StreamSpec {
def testException = TE("test")
- private val stagein = Inlet[Int]("sandwitch.in")
- private val stageout = Outlet[Int]("sandwitch.out")
+ private val stagein = Inlet[Int]("sandwich.in")
+ private val stageout = Outlet[Int]("sandwich.out")
private val stageshape = FlowShape(stagein, stageout)
// Must be lazy because I turned this stage "inside-out" therefore
changing initialization order
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]