Changeset 10208 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2016-05-14T02:38:41+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java
r9983 r10208 83 83 Class<?> klass = mapping.get(qname).klass; 84 84 try { 85 current.push(klass. newInstance());86 } catch ( Exception e) {85 current.push(klass.getConstructor().newInstance()); 86 } catch (ReflectiveOperationException e) { 87 87 throwException(e); 88 88 }
Note: See TracChangeset
for help on using the changeset viewer.