Ignore:
Timestamp:
2016-06-16T12:38:56+02:00 (9 years ago)
Author:
Don-vip
Message:

gsoc-core - remove more deprecation warnings (unit tests)

Location:
trunk/test/unit/org/openstreetmap/josm/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/NoteImporterTest.java

    r10364 r10396  
    2424        if (Main.map != null) {
    2525            for (Layer l: Main.getLayerManager().getLayers()) {
    26                 Main.map.mapView.removeLayer(l);
     26                Main.getLayerManager().removeLayer(l);
    2727            }
    2828            Main.main.setMapFrame(null);
  • trunk/test/unit/org/openstreetmap/josm/io/session/SessionReaderTest.java

    r10364 r10396  
    140140        if (Main.isDisplayingMapView()) {
    141141            for (NoteLayer nl : Main.getLayerManager().getLayersOfType(NoteLayer.class)) {
    142                 Main.map.mapView.removeLayer(nl);
     142                Main.getLayerManager().removeLayer(nl);
    143143            }
    144144        }
Note: See TracChangeset for help on using the changeset viewer.