Lots and lots of work to get things to compile without warnings

This commit is contained in:
Viktor Klang 2012-06-13 15:44:24 +02:00
parent 6b468d8856
commit 4ee2033761
12 changed files with 51 additions and 46 deletions

View file

@ -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]