Ignore:
Timestamp:
2017-05-13T14:56:51+02:00 (8 years ago)
Author:
zverik
Message:

Updated possible roles and did a little refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/RelationFixer.java

    r32395 r33311  
    22package relcontext.relationfix;
    33
     4import java.util.*;
    45import static org.openstreetmap.josm.tools.I18n.tr;
    56
    6 import java.util.ArrayList;
    7 import java.util.List;
    87
    98import javax.swing.Action;
     
    2524    public RelationFixer(String... types) {
    2625        applicableTypes = new ArrayList<>();
    27         for (String type: types) {
    28             applicableTypes.add(type);
    29         }
     26        applicableTypes.addAll(Arrays.asList(types));
    3027    }
    3128
Note: See TracChangeset for help on using the changeset viewer.