Polish: Array designators "[]" should be on the type, not the variable

(cherry picked from commit c782075)
This commit is contained in:
igor-suhorukov
2018-02-25 09:11:42 +01:00
committed by Juergen Hoeller
parent 295df21f06
commit d5f358c33c
16 changed files with 24 additions and 24 deletions

View File

@@ -1249,12 +1249,12 @@ public abstract class AbstractApplicationContext extends DefaultResourceLoader
//---------------------------------------------------------------------
@Override
public String getMessage(String code, Object args[], String defaultMessage, Locale locale) {
public String getMessage(String code, Object[] args, String defaultMessage, Locale locale) {
return getMessageSource().getMessage(code, args, defaultMessage, locale);
}
@Override
public String getMessage(String code, Object args[], Locale locale) throws NoSuchMessageException {
public String getMessage(String code, Object[] args, Locale locale) throws NoSuchMessageException {
return getMessageSource().getMessage(code, args, locale);
}