Fix curly brackets

This is the final sonar related issue with scala.
Merge pull request #12 from hazendaz/master

Fix curly brackets