whitespace changes only

Change-Id: I3127d548c6907fc4dc984726f3220a4b2d79dead
This commit is contained in:
Axel Uhl committed 2016-05-03 11:22:14 +02:00
1 parent 51223dbb6e
commit 2069afdfbf
2 files changed
-3

No files matched your search

@@ -47,14 +47,12 @@ public interface ResourceBundleStringMessages {
if (!supportedLocalesHaveBeenInitialized) {
initializeSupportedLocales();
}
return supportedLocalesMappedByLocaleInfo;
}
private static void initializeSupportedLocales() {
supportedLocalesMappedByLocaleInfo.put("en", Locale.ENGLISH);
supportedLocalesMappedByLocaleInfo.put("de", Locale.GERMAN);
supportedLocalesHaveBeenInitialized = true;
}
@@ -26,7 +26,6 @@ public class ResourceBundleStringMessagesImpl implements ResourceBundleStringMes
@Override
public String get(Locale locale, String messageKey, String... parameters) {
String result = getResourceBundle(locale).getString(messageKey);
for (int i = 0; i < parameters.length; i++) {
String target = MESSAGE_PARAMETER_START + i + MESSAGE_PARAMETER_END;
result = result.replace(target, parameters[i]);