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

This commit is contained in:
igor-suhorukov
2018-02-25 11:11:42 +03:00
committed by Juergen Hoeller
parent 7f58d9ede0
commit c782075a13
16 changed files with 23 additions and 23 deletions

View File

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