=doc =per fixed a few typos from 'Unknow' to 'Unknown'

This commit is contained in:
cheehau.lim 2015-10-15 19:32:22 +08:00
parent 5bc6783557
commit 795daa41a5
2 changed files with 4 additions and 4 deletions

View file

@ -91,7 +91,7 @@ public class SerializationDocTest {
else if (obj instanceof User)
return USER_MANIFEST;
else
throw new IllegalArgumentException("Unknow type: " + obj);
throw new IllegalArgumentException("Unknown type: " + obj);
}
// "toBinary" serializes the given object to an Array of Bytes
@ -103,7 +103,7 @@ public class SerializationDocTest {
else if (obj instanceof User)
return ((User) obj).name.getBytes(UTF_8);
else
throw new IllegalArgumentException("Unknow type: " + obj);
throw new IllegalArgumentException("Unknown type: " + obj);
} catch (UnsupportedEncodingException e) {
throw new RuntimeException(e.getMessage(), e);
}
@ -119,7 +119,7 @@ public class SerializationDocTest {
else if (manifest.equals(USER_MANIFEST))
return new User(new String(bytes, UTF_8));
else
throw new IllegalArgumentException("Unknow manifest: " + manifest);
throw new IllegalArgumentException("Unknown manifest: " + manifest);
} catch (UnsupportedEncodingException e) {
throw new RuntimeException(e.getMessage(), e);
}

View file

@ -211,7 +211,7 @@ class Persistence(val system: ExtendedActorSystem) extends Extension {
case ext if ext(system).actor == journalPluginActor ext(system).config
} match {
case Some(conf) conf
case None throw new IllegalArgumentException(s"Unknow plugin actor $journalPluginActor")
case None throw new IllegalArgumentException(s"Unknown plugin actor $journalPluginActor")
}
/**