Preserve inherited properties without local entries

This commit is contained in:
PHJ2000
2026-10-05 18:17:59 +09:00
parent 18e8ef6e61
commit 3d2f7e07ec
2 changed files with 29 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ public class Property {
// can't use the new constructor for Android support
// JSONObject jo = new JSONObject(properties == null ? 0 : properties.size());
JSONObject jo = new JSONObject();
if (properties != null && !properties.isEmpty()) {
if (properties != null) {
Enumeration<?> enumProperties = properties.propertyNames();
while(enumProperties.hasMoreElements()) {
String name = (String)enumProperties.nextElement();