fixing up final misnamers (createClassFor -> getClassFor)
This commit is contained in:
parent
09897459d6
commit
4b71872aef
6 changed files with 37 additions and 45 deletions
|
|
@ -14,7 +14,7 @@ object MessageSerializer {
|
|||
def deserialize(system: ExtendedActorSystem, messageProtocol: MessageProtocol): AnyRef = {
|
||||
val clazz =
|
||||
if (messageProtocol.hasMessageManifest) {
|
||||
system.dynamicAccess.createClassFor[AnyRef](messageProtocol.getMessageManifest.toStringUtf8)
|
||||
system.dynamicAccess.getClassFor[AnyRef](messageProtocol.getMessageManifest.toStringUtf8)
|
||||
.fold(throw _, Some(_))
|
||||
} else None
|
||||
SerializationExtension(system)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue