Changeset 14977 in josm for trunk/src/org/openstreetmap/josm/data/StructUtils.java
- Timestamp:
- 2019-04-09T01:32:56+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/StructUtils.java
r13647 r14977 33 33 import org.openstreetmap.josm.tools.Logging; 34 34 import org.openstreetmap.josm.tools.MultiMap; 35 import org.openstreetmap.josm.tools. Utils;35 import org.openstreetmap.josm.tools.ReflectionUtils; 36 36 37 37 /** … … 161 161 } 162 162 try { 163 Utils.setObjectsAccessible(f);163 ReflectionUtils.setObjectsAccessible(f); 164 164 Object fieldValue = f.get(struct); 165 165 Object defaultFieldValue = f.get(structPrototype); … … 215 215 continue; 216 216 } 217 Utils.setObjectsAccessible(f);217 ReflectionUtils.setObjectsAccessible(f); 218 218 if (f.getType() == Boolean.class || f.getType() == boolean.class) { 219 219 value = Boolean.valueOf(keyValue.getValue());
Note:
See TracChangeset
for help on using the changeset viewer.