sonar curly braces adding