[Stylefix] Removed trailing spaces and added missing braces.