Fix quality flaws
SONARWEB-9: Rule: Deprecated attributes should not be used