fix: handle unfiltered domestic container lists

This commit is contained in:
2026-08-13 17:30:03 +08:00
parent 6ad438e733
commit 8ff49b501f
2 changed files with 77 additions and 1 deletions
@@ -104,5 +104,8 @@ public class DomesticContainerRepository {
}
private static String trim(String value) { return value == null ? null : value.trim(); }
private static String upper(String value) { return trim(value).toUpperCase(java.util.Locale.ROOT); }
private static String upper(String value) {
String normalized = trim(value);
return normalized == null ? null : normalized.toUpperCase(java.util.Locale.ROOT);
}
}