refactor.scala �P ��U ��U def index(id:String) = Action { getFirstData(id) } private def getFirstData(id:String) = { Cache.get(id) match { case Some(id2) => getSecondData(id2) case None => NotFound } } private def getSecondData(id2:String) = { Cache.get(id2) match { case Some(result) => Ok(result) case None => NotFound } } sample.scala Pu���U �����U def index(id:String) = Action { Cache.get(id)