MAHOUT-1500 H20 

Creating a PR to just to be able to (re-)view what current state of diff is against master in this work.
if statement needs braces... a few more occurences i believe as well in other files