Fix typos, via a Levenshtein-style corrector

This commit is contained in:
Brian Wignall 2019-12-19 01:57:55 -05:00
parent e0a1110794
commit fd41299943
45 changed files with 49 additions and 49 deletions

View file

@ -569,7 +569,7 @@ class ReplicatedDataSerializer(val system: ExtendedActorSystem)
else if (entry.getOperation == rd.ORSetDeltaOp.Full)
ORSet.FullStateDeltaOp(orsetFromProto(entry.getUnderlying))
else
throw new NotSerializableException(s"Unknow ORSet delta operation ${entry.getOperation}")
throw new NotSerializableException(s"Unknown ORSet delta operation ${entry.getOperation}")
}
.to(immutable.Vector)
ORSet.DeltaGroup(ops)

View file

@ -253,7 +253,7 @@ class JepsenInspiredInsertSpec
failureWriteAcks should be(Nil)
}
runOn(n2, n3) {
// without delays all could teoretically have been written before the blackhole
// without delays all could theoretically have been written before the blackhole
if (delayMillis != 0)
failureWriteAcks should not be (Nil)
}

View file

@ -58,7 +58,7 @@ class ReplicatedDataSerializerSpec
/**
* Given a blob created with the previous serializer (with only string keys for maps). If we deserialize it and then
* serialize it again and arive at the same BLOB we can assume that we are compatible in both directions.
* serialize it again and arrive at the same BLOB we can assume that we are compatible in both directions.
*/
def checkCompatibility(oldBlobAsBase64: String, obj: AnyRef): Unit = {
val oldBlob = Base64.getDecoder.decode(oldBlobAsBase64)