akka-concurrency-wyatt icon indicating copy to clipboard operation
akka-concurrency-wyatt copied to clipboard

Replace deprecated ActorRef.isTerminated

Open drozzy opened this issue 10 years ago • 1 comments

How can we replace the deprecated isTerminated method? It is used in FlyingBehaviour.scala on line 93:

def prepComplete(data: Data): Boolean = {
    data match {
      case FlightData(c, _, _, _, s) =>
        if (!c.isTerminated &&
          s.heading != -1f && s.altitude != -1f)
          true
        else false
      case _ =>
        false
    } 
  }

drozzy avatar Apr 10 '14 03:04 drozzy

Sorry, I basically haven't used scala since doing this. I'd be happy to take a PR, but I haven't been keeping up with things enough to know what's deprecated and what's new.

danluu avatar Dec 07 '14 15:12 danluu