Fix scala style