Ignore:
Timestamp:
2019-05-27T12:37:31+02:00 (7 years ago)
Author:
Don-vip
Message:

sonarqube, javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/StructUtils.java

    r14977 r15121  
    147147     * @return the resulting map (same data content as <code>struct</code>)
    148148     */
    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) {
    150150        T structPrototype;
    151151        try {
     
    155155        }
    156156
    157         Map<String, String> hash = new LinkedHashMap<>();
     157        HashMap<String, String> hash = new LinkedHashMap<>();
    158158        for (Field f : klass.getDeclaredFields()) {
    159159            if (f.getAnnotation(StructEntry.class) == null) {
Note: See TracChangeset for help on using the changeset viewer.