Changeset 16207 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2020-03-28T09:34:19+01:00 (5 years ago)
Author:
simon04
Message:

ImageResource: rename method parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageResource.java

    r16074 r16207  
    113113     * Set both icons of an Action
    114114     * @param a The action for the icons
    115      * @param addresource Adds an resource named "ImageResource" if <code>true</code>
     115     * @param attachImageResource Adds an resource named "ImageResource" if <code>true</code>
    116116     * @since 10369
    117117     */
    118     public void attachImageIcon(AbstractAction a, boolean addresource) {
     118    public void attachImageIcon(AbstractAction a, boolean attachImageResource) {
    119119        attachImageIcon(a);
    120         if (addresource) {
     120        if (attachImageResource) {
    121121            a.putValue("ImageResource", this);
    122122        }
Note: See TracChangeset for help on using the changeset viewer.