Changeset 5130 in josm for trunk/src


Ignore:
Timestamp:
2012-03-29T21:39:00+02:00 (8 years ago)
Author:
simon04
Message:

presets: fix handling of <short_description> which was broken since r4340

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java

    r4726 r5130  
    203203                        fieldName = "set" + fieldName.substring(0,1).toUpperCase() + fieldName.substring(1);
    204204                    }
    205                     Method[] methods = c.getClass().getDeclaredMethods();
     205                    Method[] methods = c.getClass().getMethods();
    206206                    for (Method m : methods) {
    207207                        if (m.getName().equals(fieldName) && m.getParameterTypes().length == 1) {
Note: See TracChangeset for help on using the changeset viewer.