Ignore:
Timestamp:
2017-04-17T14:47:28+02:00 (7 years ago)
Author:
Don-vip
Message:

sonar - fb-contrib:SCII_SPOILED_CHILD_INTERFACE_IMPLEMENTOR - Style - Class implements interface by relying on unknowing superclass methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java

    r11804 r11945  
    7676import org.openstreetmap.josm.data.preferences.StringProperty;
    7777import org.openstreetmap.josm.gui.ExtendedDialog;
     78import org.openstreetmap.josm.gui.IExtendedDialog;
    7879import org.openstreetmap.josm.gui.datatransfer.ClipboardUtils;
    7980import org.openstreetmap.josm.gui.mappaint.MapPaintStyles;
     
    241242    }
    242243
     244    /**
     245     * Returns a new {@code AddTagsDialog}.
     246     * @return a new {@code AddTagsDialog}
     247     */
    243248    protected AddTagsDialog getAddTagsDialog() {
    244249        return new AddTagsDialog();
     
    267272    }
    268273
    269     protected interface IEditTagDialog {
    270         ExtendedDialog showDialog();
    271 
    272         int getValue();
    273 
     274    /**
     275     * Extracted interface of {@link EditTagDialog}.
     276     */
     277    protected interface IEditTagDialog extends IExtendedDialog {
     278        /**
     279         * Edit tags of multiple selected objects according to selected ComboBox values
     280         * If value == "", tag will be deleted
     281         * Confirmations may be needed.
     282         */
    274283        void performTagEdit();
    275284    }
     
    483492        }
    484493
    485         /**
    486          * Edit tags of multiple selected objects according to selected ComboBox values
    487          * If value == "", tag will be deleted
    488          * Confirmations may be needed.
    489          */
    490494        @Override
    491495        public void performTagEdit() {
Note: See TracChangeset for help on using the changeset viewer.