Remove violations reported by SonarQube.