review updates
This commit is contained in:
parent
e48b29d58c
commit
b3b7e78ce6
|
@ -17,12 +17,13 @@ public class MyMessageInterpolator implements MessageInterpolator {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String interpolate(String messageTemplate, Context context) {
|
public String interpolate(String messageTemplate, Context context) {
|
||||||
logger.debug("Selecting the language " + Locale.getDefault() + " for the error message.");
|
messageTemplate = messageTemplate.toUpperCase();
|
||||||
return defaultInterpolator.interpolate(messageTemplate, context, Locale.getDefault());
|
return defaultInterpolator.interpolate(messageTemplate, context, Locale.getDefault());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String interpolate(String messageTemplate, Context context, Locale locale) {
|
public String interpolate(String messageTemplate, Context context, Locale locale) {
|
||||||
|
messageTemplate = messageTemplate.toUpperCase();
|
||||||
return defaultInterpolator.interpolate(messageTemplate, context, locale);
|
return defaultInterpolator.interpolate(messageTemplate, context, locale);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue