Ignore:
Timestamp:
2024-02-09T15:26:06+01:00 (4 months ago)
Author:
taylor.smock
Message:

See #23465: Add additional javadoc comments

This also fixes some sonarlint issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java

    r17862 r18972  
    66
    77import java.awt.Component;
     8import java.awt.GridBagConstraints;
    89import java.awt.GridBagLayout;
    910import java.awt.event.ActionEvent;
     
    4849/**
    4950 * Abstract base class for background imagery layers ({@link WMSLayer}, {@link TMSLayer}, {@link WMTSLayer}).
    50  *
     51 * <p>
    5152 * Handles some common tasks, like image filters, image processors, etc.
    5253 */
     
    138139                panel.add(new JLabel(entry.get(0) + ':'), GBC.std());
    139140                panel.add(GBC.glue(5, 0), GBC.std());
    140                 panel.add(createTextField(entry.get(1)), GBC.eol().fill(GBC.HORIZONTAL));
     141                panel.add(createTextField(entry.get(1)), GBC.eol().fill(GridBagConstraints.HORIZONTAL));
    141142            }
    142143        }
     
    193194    }
    194195
     196    /**
     197     * Create an offset for an imagery layer
     198     */
    195199    public class OffsetAction extends AbstractAction implements LayerAction {
    196200        @Override
     
    223227    /**
    224228     * Create the submenu or the menu item to set the offset of the layer.
    225      *
     229     * <p>
    226230     * If only one menu item for this layer exists, it is returned by this method.
    227      *
     231     * <p>
    228232     * If there are multiple, this method appends them to the subMenu and then returns the reference to the subMenu.
    229233     * @param subMenu The subMenu to use
Note: See TracChangeset for help on using the changeset viewer.