Changeset 14624 in josm for trunk/test/unit


Ignore:
Timestamp:
2018-12-31T19:36:59+01:00 (6 years ago)
Author:
Don-vip
Message:

fix various SonarQube issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/dialogs/MinimapDialogTest.java

    r14300 r14624  
    3232import org.openstreetmap.josm.data.Bounds;
    3333import org.openstreetmap.josm.data.DataSource;
    34 import org.openstreetmap.josm.data.osm.DataSet;
    3534import org.openstreetmap.josm.data.imagery.ImageryInfo;
    3635import org.openstreetmap.josm.data.imagery.ImageryLayerInfo;
     36import org.openstreetmap.josm.data.osm.DataSet;
    3737import org.openstreetmap.josm.data.projection.ProjectionRegistry;
    3838import org.openstreetmap.josm.data.projection.Projections;
     
    128128            });
    129129        } catch (Throwable e) {
    130             // need to turn this *back* into an AssertionFailedError
    131             fail(String.format("Failed to find menu item with label %s: %s", label, e));
     130            throw new RuntimeException(String.format("Failed to find menu item with label %s: %s", label, e), e);
    132131        }
    133132    }
Note: See TracChangeset for help on using the changeset viewer.