Server: Fixed curly braces sonar warning.