Changeset 14483 in josm for trunk/src


Ignore:
Timestamp:
2018-12-02T00:41:00+01:00 (6 years ago)
Author:
Don-vip
Message:

see #17040 - fix SonarQube issues

Location:
trunk/src/org/openstreetmap/josm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java

    r14460 r14483  
    9292     */
    9393    private static class LegacyMap extends HashMap<String, Object> {
     94        private static final long serialVersionUID = 1;
    9495
    9596        LegacyMap() {
  • trunk/src/org/openstreetmap/josm/gui/MapSlider.java

    r14478 r14483  
    7171    }
    7272
    73     /**
    74      * Free resources
    75      */
     73    @Override
    7674    public void destroy() {
    7775        NavigatableComponent.removeZoomChangeListener(this);
  • trunk/src/org/openstreetmap/josm/gui/history/NodeListViewer.java

    r14463 r14483  
    1111import javax.swing.AbstractAction;
    1212import javax.swing.JPopupMenu;
    13 import javax.swing.JScrollPane;
    1413import javax.swing.JTable;
    1514import javax.swing.ListSelectionModel;
     
    5453    }
    5554
    56     protected JScrollPane embedInScrollPane(JTable table) {
    57         JScrollPane pane = new JScrollPane(table);
    58         adjustmentSynchronizer.participateInSynchronizedScrolling(pane.getVerticalScrollBar());
    59         return pane;
    60     }
    61 
    6255    @Override
    6356    protected JTable buildReferenceTable() {
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r14480 r14483  
    19151915        } catch (InvalidPathException e) {
    19161916            Logging.error("Cannot open {0}: {1}", path, e.getMessage());
     1917            Logging.trace(e);
    19171918            try {
    19181919                URL betterUrl = betterJarUrl(klass.getResource(path));
Note: See TracChangeset for help on using the changeset viewer.