Ignore:
Timestamp:
2015-03-08T23:39:57+01:00 (9 years ago)
Author:
Don-vip
Message:

fix Sonar issue squid:S2444 - Lazy initialization of "static" fields should be "synchronized"

File:
1 edited

Legend:

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

    r7395 r8126  
    149149     */
    150150    private static MultipolygonRoleMatcher roleMatcher;
    151     private static MultipolygonRoleMatcher getMultipolygonRoleMatcher() {
     151    private static synchronized MultipolygonRoleMatcher getMultipolygonRoleMatcher() {
    152152        if (roleMatcher == null) {
    153153            roleMatcher = new MultipolygonRoleMatcher();
Note: See TracChangeset for help on using the changeset viewer.