Ignore:
Timestamp:
2017-07-30T17:07:42+02:00 (7 years ago)
Author:
Don-vip
Message:

partial revert of r12537

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java

    r12537 r12542  
    7575
    7676    /** list of custom components that can be added by plugins at JOSM startup */
    77     private static final Collection<Component> CUSTOM_COMPONENTS = new ArrayList<>();
     77    private static final Collection<Component> customComponents = new ArrayList<>();
    7878
    7979    /** the "created_by" changeset OSM key */
     
    136136
    137137        // Custom components
    138         for (Component c : CUSTOM_COMPONENTS) {
     138        for (Component c : customComponents) {
    139139            pnl.add(c, GBC.eol().fill(GBC.HORIZONTAL));
    140140        }
     
    406406    public static boolean addCustomComponent(Component c) {
    407407        if (c != null) {
    408             return CUSTOM_COMPONENTS.add(c);
     408            return customComponents.add(c);
    409409        }
    410410        return false;
Note: See TracChangeset for help on using the changeset viewer.