Lots and lots of work to get things to compile without warnings
This commit is contained in:
parent
6b468d8856
commit
4ee2033761
12 changed files with 51 additions and 46 deletions
|
|
@ -131,7 +131,7 @@ private[akka] class DaemonMsgCreateSerializer(val system: ExtendedActorSystem) e
|
|||
case Left(e) ⇒ throw e
|
||||
}
|
||||
|
||||
protected def deserialize[T: ClassManifest](data: ByteString, clazz: Class[T]): T = {
|
||||
protected def deserialize[T: ClassTag](data: ByteString, clazz: Class[T]): T = {
|
||||
val bytes = data.toByteArray
|
||||
serialization.deserialize(bytes, clazz) match {
|
||||
case Right(x) if classManifest[T].erasure.isInstance(x) ⇒ x.asInstanceOf[T]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue