mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-30 15:57:11 +00:00
whitespace changes only
Change-Id: I3127d548c6907fc4dc984726f3220a4b2d79dead
This commit is contained in:
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]);
|
||||
|
||||
Reference in new issue
Block a user