Ignore:
Timestamp:
2014-04-15T13:56:36+02:00 (11 years ago)
Author:
Don-vip
Message:

fix some sonar issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/MultipolygonCache.java

    r6362 r6981  
    3434import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    3535
    36 /*
     36/**
    3737 * A memory cache for Multipolygon objects.
    38  *
     38 * @since 4623
    3939 */
    4040public final class MultipolygonCache implements DataSetListener, LayerChangeListener, ProjectionChangeListener, SelectionChangedListener {
    4141
    42     private static final MultipolygonCache instance = new MultipolygonCache();
     42    private static final MultipolygonCache INSTANCE = new MultipolygonCache();
    4343   
    4444    private final Map<NavigatableComponent, Map<DataSet, Map<Relation, Multipolygon>>> cache;
     
    5454    }
    5555
     56    /**
     57     * Replies the unique instance.
     58     * @return the unique instance
     59     */
    5660    public static final MultipolygonCache getInstance() {
    57         return instance;
     61        return INSTANCE;
    5862    }
    5963
Note: See TracChangeset for help on using the changeset viewer.