Changeset 6981 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2014-04-15T13:56:36+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/MultipolygonCache.java
r6362 r6981 34 34 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 35 35 36 /* 36 /** 37 37 * A memory cache for Multipolygon objects. 38 * 38 * @since 4623 39 39 */ 40 40 public final class MultipolygonCache implements DataSetListener, LayerChangeListener, ProjectionChangeListener, SelectionChangedListener { 41 41 42 private static final MultipolygonCache instance= new MultipolygonCache();42 private static final MultipolygonCache INSTANCE = new MultipolygonCache(); 43 43 44 44 private final Map<NavigatableComponent, Map<DataSet, Map<Relation, Multipolygon>>> cache; … … 54 54 } 55 55 56 /** 57 * Replies the unique instance. 58 * @return the unique instance 59 */ 56 60 public static final MultipolygonCache getInstance() { 57 return instance;61 return INSTANCE; 58 62 } 59 63
Note:
See TracChangeset
for help on using the changeset viewer.