Ignore:
Timestamp:
2014-12-20T16:00:06+01:00 (9 years ago)
Author:
Don-vip
Message:

fix various Sonar issues, improve Javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/MapRectifierWMSmenuAction.java

    r7813 r7859  
    2424import org.openstreetmap.josm.gui.ExtendedDialog;
    2525import org.openstreetmap.josm.gui.layer.WMSLayer;
     26import org.openstreetmap.josm.gui.widgets.JosmTextField;
     27import org.openstreetmap.josm.gui.widgets.UrlLabel;
    2628import org.openstreetmap.josm.tools.GBC;
    2729import org.openstreetmap.josm.tools.Shortcut;
    2830import org.openstreetmap.josm.tools.Utils;
    29 import org.openstreetmap.josm.gui.widgets.JosmTextField;
    30 import org.openstreetmap.josm.gui.widgets.UrlLabel;
    31 
     31
     32/**
     33 * Download rectified images from various services.
     34 * @since 3715
     35 */
    3236public class MapRectifierWMSmenuAction extends JosmAction {
     37
    3338    /**
    3439     * Class that bundles all required information of a rectifier service
     
    4045        private final Pattern urlRegEx;
    4146        private final Pattern idValidator;
    42         public JRadioButton btn;
     47        private JRadioButton btn;
    4348
    4449        /**
     
    5762        }
    5863
    59         public boolean isSelected() {
     64        private boolean isSelected() {
    6065            return btn.isSelected();
    6166        }
     
    6368
    6469    /**
    65      * List of available rectifier services. May be extended from the outside
    66      */
    67     public List<RectifierService> services = new ArrayList<>();
    68 
     70     * List of available rectifier services.
     71     */
     72    private final List<RectifierService> services = new ArrayList<>();
     73
     74    /**
     75     * Constructs a new {@code MapRectifierWMSmenuAction}.
     76     */
    6977    public MapRectifierWMSmenuAction() {
    7078        super(tr("Rectified Image..."),
Note: See TracChangeset for help on using the changeset viewer.