Scala migration: ConditionBean compile OK