CROSDATA-177: resolving warning in scala style.