Changeset 34943 in osm


Ignore:
Timestamp:
2019-03-25T08:55:19+01:00 (6 years ago)
Author:
gerdp
Message:

fix sonarlint/javadoc issues, no functional change

Location:
applications/editors/josm/plugins/reverter/src/reverter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdQuery.java

    r34552 r34943  
    77import java.awt.Insets;
    88import java.awt.event.KeyEvent;
     9import java.awt.event.WindowAdapter;
    910import java.awt.event.WindowEvent;
    10 import java.awt.event.WindowListener;
    1111import java.util.Collection;
    1212import java.util.Collections;
     
    3434import reverter.ChangesetReverter.RevertType;
    3535
    36 @SuppressWarnings("serial")
    3736public class ChangesetIdQuery extends ExtendedDialog {
    3837    private final JPanel panel = new JPanel(new GridBagLayout());
     
    102101    public void setupDialog() {
    103102        setContent(panel, false);
    104         setButtonIcons(new String[] {"ok.png", "cancel.png" });
     103        setButtonIcons("ok.png", "cancel.png");
    105104        setDefaultButton(1);
    106105
     
    172171    }
    173172
    174     private class InternalWindowListener implements WindowListener {
     173    private class InternalWindowListener extends WindowAdapter {
    175174        @Override public void windowClosed(WindowEvent e) {
    176175            if (e != null && e.getComponent() == ChangesetIdQuery.this && getValue() == 1) {
     
    181180            }
    182181        }
    183 
    184         @Override public void windowOpened(WindowEvent e) {}
    185 
    186         @Override public void windowClosing(WindowEvent e) {}
    187 
    188         @Override public void windowIconified(WindowEvent e) {}
    189 
    190         @Override public void windowDeiconified(WindowEvent e) {}
    191 
    192         @Override public void windowActivated(WindowEvent e) {}
    193 
    194         @Override public void windowDeactivated(WindowEvent e) {}
    195182    }
    196183}
  • applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdsTextField.java

    r34941 r34943  
    4848        /**
    4949         * Constructs a new {@link OsmIdsValidator}
     50         * @param tc The text component to validate
    5051         */
    5152        public OsmIdsValidator(JTextComponent tc) {
Note: See TracChangeset for help on using the changeset viewer.