Ignore:
Timestamp:
2018-04-15T18:58:21+02:00 (7 years ago)
Author:
Don-vip
Message:

extract style methods to a new Stylable interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/gui/mappaint/StyleCacheTest.java

    r12636 r13636  
    155155        for (OsmPrimitive osm : dsCity2.allPrimitives()) {
    156156            // primitives, that have been rendered, should have the cache populated
    157             if (osm.mappaintStyle != null) {
     157            if (osm.getCachedStyle() != null) {
    158158                noPrimitives++;
    159                 Pair<StyleElementList, Range> p = osm.mappaintStyle.getWithRange(nc.getDist100Pixel(), false);
     159                Pair<StyleElementList, Range> p = osm.getCachedStyle().getWithRange(nc.getDist100Pixel(), false);
    160160                StyleElementList sel = p.a;
    161161                Assert.assertNotNull(sel);
Note: See TracChangeset for help on using the changeset viewer.