Sonar Violations and Formatting

I'm not sure what it is but I think Damien removed it because the isManagementServerEnabled() (only place that uses it) is unused.