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/preferences/map/TaggingPresetPreference.java

    r18342 r18972  
    55import static org.openstreetmap.josm.tools.I18n.tr;
    66
     7import java.awt.GridBagConstraints;
    78import java.awt.GridBagLayout;
    89import java.io.IOException;
     
    182183
    183184        sources = new TaggingPresetSourceEditor();
    184         panel.add(sources, GBC.eol().fill(GBC.BOTH));
     185        panel.add(sources, GBC.eol().fill(GridBagConstraints.BOTH));
    185186        PreferencePanel preferencePanel = gui.createPreferenceTab(this);
    186         preferencePanel.add(panel, GBC.eol().fill(GBC.BOTH));
     187        preferencePanel.add(panel, GBC.eol().fill(GridBagConstraints.BOTH));
    187188        sources.deferLoading(gui, preferencePanel);
    188189        gui.addValidationListener(validationListener);
    189190    }
    190191
     192    /**
     193     * An editor for what preset source locations are used
     194     */
    191195    public static class TaggingPresetSourceEditor extends SourceEditor {
    192196
     197        /**
     198         * Create a new {@link TaggingPresetSourceEditor} with the default providers
     199         */
    193200        public TaggingPresetSourceEditor() {
    194201            super(SourceType.TAGGING_PRESET, Config.getUrls().getJOSMWebsite()+"/presets", presetSourceProviders, true);
Note: See TracChangeset for help on using the changeset viewer.