Changeset 12542 in josm for trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
- Timestamp:
- 2017-07-30T17:07:42+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
r12537 r12542 75 75 76 76 /** 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<>(); 78 78 79 79 /** the "created_by" changeset OSM key */ … … 136 136 137 137 // Custom components 138 for (Component c : CUSTOM_COMPONENTS) {138 for (Component c : customComponents) { 139 139 pnl.add(c, GBC.eol().fill(GBC.HORIZONTAL)); 140 140 } … … 406 406 public static boolean addCustomComponent(Component c) { 407 407 if (c != null) { 408 return CUSTOM_COMPONENTS.add(c);408 return customComponents.add(c); 409 409 } 410 410 return false;
Note:
See TracChangeset
for help on using the changeset viewer.