Currently we have a bunch of methods to get and format I18n messages.
The current use is:
*One .get method to get a key without attributes
*One .format method to get a key with an attribute
*One .format method to get a key with an array of attributes
This is replicated 3 times because this methods could receive as first parameter a Locale, a PageContext or a PortletConfig.
The solution we propose is to deprecate the get methods, and change the signature of the format methods using varargs, so whe will only have to use a unique method:
*One .format method that could receive 0 to n Object attributes (or an array of them) - This is also replicated 3 times
FTR- Brian also suggest us to improve Source Formatter to automatic change LanguageUtil.get to LanguageUtil.format