#2776 - deprecating and introducing alternatives for methods and parameters ending with '_?'

This commit is contained in:
Viktor Klang 2012-12-11 16:24:12 +01:00
parent 761f1c6258
commit d0717aaec6
8 changed files with 32 additions and 30 deletions

View file

@ -75,11 +75,8 @@ class TestFSMRef[S, D, T <: Actor](
*/
def cancelTimer(name: String) { fsm.cancelTimer(name) }
/**
* Proxy for FSM.timerActive_?.
*/
@deprecated("Use isTimerActive(name) instead.", "2.2")
def timerActive_?(name: String) = isTimerActive(name)
@deprecated("Use isTimerActive", "2.2")
def timerActive_?(name: String): Boolean = isTimerActive(name)
/**
* Proxy for FSM.isTimerActive.