Format code

This commit is contained in:
2026-05-17 10:08:06 +02:00
parent d110df924e
commit 5125453406
152 changed files with 752 additions and 814 deletions
@@ -36,8 +36,7 @@ public class SteamwarResourceBundle extends PropertyResourceBundle {
private static synchronized ResourceBundle getResourceBundle(String locale, ResourceBundle parent) {
return bundles.computeIfAbsent(locale, locale1 -> {
InputStream inputStream = Message.class.getResourceAsStream(BASE_PATH + ("".equals(locale) ? "" : "_" + locale) + ".properties");
if (inputStream == null)
return parent;
if (inputStream == null) return parent;
try {
return new SteamwarResourceBundle(inputStream, parent);
} catch (IOException e) {