Changeset 11852 in josm for trunk/src/org/openstreetmap/josm/data/validation/OsmValidator.java
- Timestamp:
- 2017-04-08T01:08:59+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/OsmValidator.java
r11746 r11852 75 75 } 76 76 77 p ublicstatic volatile ValidatorLayer errorLayer;77 private static volatile ValidatorLayer errorLayer; 78 78 79 79 /** The validate action */ … … 81 81 82 82 /** Grid detail, multiplier of east,north values for valuable cell sizing */ 83 p ublicstatic double griddetail;83 private static double griddetail; 84 84 85 85 private static final Collection<String> ignoredErrors = new TreeSet<>(); … … 215 215 } 216 216 217 /** 218 * Initializes error layer. 219 */ 217 220 public static synchronized void initializeErrorLayer() { 218 221 if (!ValidatorPreference.PREF_LAYER.get()) … … 222 225 Main.getLayerManager().addLayer(errorLayer); 223 226 } 227 } 228 229 /** 230 * Resets error layer. 231 * @since 11852 232 */ 233 public static synchronized void resetErrorLayer() { 234 errorLayer = null; 224 235 } 225 236 … … 303 314 OsmValidator.griddetail = 1.0; 304 315 } 316 } 317 318 /** 319 * Returns grid detail, multiplier of east,north values for valuable cell sizing 320 * @return grid detail 321 * @since 11852 322 */ 323 public static double getGridDetail() { 324 return griddetail; 305 325 } 306 326
Note:
See TracChangeset
for help on using the changeset viewer.