Remove procedure syntax (#25362)

This commit is contained in:
kenji yoshida 2018-07-25 20:38:27 +09:00 committed by Johan Andrén
parent 50979d599c
commit 5b3b191bac
180 changed files with 403 additions and 403 deletions

View file

@ -125,7 +125,7 @@ class FSMDocSpec extends MyFavoriteTestFrameWorkPlusAkkaTestKit {
//#alt-transition-syntax
onTransition(handler _)
def handler(from: StateType, to: StateType) {
def handler(from: StateType, to: StateType): Unit = {
// handle it here ...
}
//#alt-transition-syntax