Remove trailing whitespace from Scala sample application

Minor change that removes trailing whitespace in code from the sample application.