This commit is contained in:
zhouhao
2024-12-20 14:29:49 +08:00
parent 280eeba824
commit c03c21b2c9

View File

@@ -12,7 +12,7 @@ public interface MultipleI18nSupportEntity extends I18nSupportEntity {
@Override
default Map<String, String> getI18nMessages(String key) {
Map<String, Map<String, String>> source = getI18nMessages();
if (MapUtils.isNotEmpty(source)) {
if (MapUtils.isEmpty(source)) {
return Collections.emptyMap();
}
return source.get(key);