From 744e7cb855cf1da71926639c691cd027a768eae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=99=8E=E9=B8=A3?= Date: Fri, 19 Jun 2026 04:41:22 +0800 Subject: [PATCH] fix: correct typos in sample projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Motivation: Typos found in sample project code and documentation. Modification: - thrid→third in StatsSampleSpec.scala (Java and Scala variants) - apliction→application in distributed-workers README Result: Cleaner sample code with corrected spelling. Tests: Not run - typo fixes only (test strings and docs) References: None - typo cleanup --- .../multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala | 2 +- .../multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala | 2 +- pekko-sample-distributed-workers-scala/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pekko-sample-cluster-java/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala b/pekko-sample-cluster-java/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala index d5c14939..9f37dcd9 100644 --- a/pekko-sample-cluster-java/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala +++ b/pekko-sample-cluster-java/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala @@ -18,7 +18,7 @@ object StatsSampleSpecConfig extends MultiNodeConfig { // note that this is not the same thing as cluster node roles val first = role("first") val second = role("second") - val third = role("thrid") + val third = role("third") // this configuration will be used for all nodes // note that no fixed host names and ports are used diff --git a/pekko-sample-cluster-scala/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala b/pekko-sample-cluster-scala/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala index d1e68f28..a8ebd252 100644 --- a/pekko-sample-cluster-scala/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala +++ b/pekko-sample-cluster-scala/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala @@ -25,7 +25,7 @@ object StatsSampleSpecConfig extends MultiNodeConfig { // note that this is not the same thing as cluster node roles val first = role("first") val second = role("second") - val third = role("thrid") + val third = role("third") // this configuration will be used for all nodes // note that no fixed host names and ports are used diff --git a/pekko-sample-distributed-workers-scala/README.md b/pekko-sample-distributed-workers-scala/README.md index 3df0d8b1..1c5c7cc7 100644 --- a/pekko-sample-distributed-workers-scala/README.md +++ b/pekko-sample-distributed-workers-scala/README.md @@ -191,7 +191,7 @@ Now that we have covered all the details, we can experiment with different sets ## Experimenting -When running the appliction without parameters it runs a six node cluster within the same JVM and starts a Apache Cassandra database. It can be more interesting to run them in separate processes. Open four terminal windows. +When running the application without parameters it runs a six node cluster within the same JVM and starts a Apache Cassandra database. It can be more interesting to run them in separate processes. Open four terminal windows. In the first terminal window, start the Apache Cassandra database with the following command: