=doc #17329 Fixed and normalized spellings in ScalaDoc and comments

This commit is contained in:
Andrey Myatlyuk 2015-06-02 21:01:00 -07:00
parent 10f039f70d
commit bc791eb86c
77 changed files with 100 additions and 100 deletions

View file

@ -96,7 +96,7 @@ abstract class ClusterAccrualFailureDetectorSpec
enterBarrier("third-shutdown")
runOn(first, second) {
// remaning nodes should detect failure...
// remaining nodes should detect failure...
awaitCond(!cluster.failureDetector.isAvailable(third), 15.seconds)
// other connections still ok
cluster.failureDetector.isAvailable(first) should ===(true)

View file

@ -343,7 +343,7 @@ trait MultiNodeClusterSpec extends Suite with STMultiNodeSpec with WatchedByCoro
*/
def markNodeAsUnavailable(address: Address): Unit = {
if (isFailureDetectorPuppet) {
// before marking it as unavailble there should be at least one heartbeat
// before marking it as unavailable there should be at least one heartbeat
// to create the FailureDetectorPuppet in the FailureDetectorRegistry
cluster.failureDetector.heartbeat(address)
failureDetectorPuppet(address) foreach (_.markNodeAsUnavailable())