Ignore:
Timestamp:
2014-01-04T06:39:00+01:00 (10 years ago)
Author:
Don-vip
Message:

fix Sonar issues

File:
1 edited

Legend:

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

    r6608 r6623  
    211211                return null;
    212212            // try to zoom to the first selected layer
    213             //
    214213            Layer l = getFirstSelectedLayer();
    215214            if (l == null) return null;
     
    245244            // ensure reasonable zoom level when zooming onto single nodes.
    246245            v.enlargeToMinDegrees(0.0005);
    247         }
    248         else if (mode.equals("download")) {
     246        } else if (mode.equals("download")) {
    249247            Bounds bounds = DownloadDialog.getSavedDownloadBounds();
    250248            if (bounds != null) {
Note: See TracChangeset for help on using the changeset viewer.