Correct tests that rely on trailing white spaces
Fix package name in test unit
Remove trailing white spaces in the whole project

The changes are done automatically with the following command:

  find . -iname "*.scala" -print0 | xargs -0 sed -i 's/ *$//'
Convert tabs to spaces and remove the trailing spaces afterwards

The changes are done automatically with the following commands:

  find . -iname "*.scala" -print0 | xargs -0 sed -i 's/\t/  /g'
  find . -iname "*.scala" -print0 | xargs -0 sed -i 's/ *$//'
Fixed trailing whitespaces not automatically detected
Add content to empty Scala file to solve Scalastyle warning
Add Scalastyle plugin

For the beginning the only rules that are activated are rules that
check for the existence of trailing whitespaces and tabs.

To run the plugin manually simply type in:

  mvn scalastyle:check