Adding a deprecation note about the Locale component
Fixing code style
Method's note replaced by one single method for the whole class