Changeset 15121 in josm for trunk/src/org/openstreetmap/josm/data/StructUtils.java
- Timestamp:
- 2019-05-27T12:37:31+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/StructUtils.java
r14977 r15121 147 147 * @return the resulting map (same data content as <code>struct</code>) 148 148 */ 149 public static <T> Map<String, String> serializeStruct(T struct, Class<T> klass) { 149 public static <T> HashMap<String, String> serializeStruct(T struct, Class<T> klass) { 150 150 T structPrototype; 151 151 try { … … 155 155 } 156 156 157 Map<String, String> hash = new LinkedHashMap<>(); 157 HashMap<String, String> hash = new LinkedHashMap<>(); 158 158 for (Field f : klass.getDeclaredFields()) { 159 159 if (f.getAnnotation(StructEntry.class) == null) {
Note:
See TracChangeset
for help on using the changeset viewer.
