Changeset 14913 in josm
- Timestamp:
- 2019-03-21T10:33:59+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/TestError.java
r14882 r14913 275 275 /** 276 276 * Returns the ignore state for this error. 277 * @return the ignore state for this error 277 * @return the ignore state for this error or null if any primitive is new 278 278 */ 279 279 public String getIgnoreState() { … … 311 311 312 312 private boolean calcIgnored() { 313 String state = getIgnoreGroup(); 314 if (state != null && OsmValidator.hasIgnoredError(state)) 313 if (OsmValidator.hasIgnoredError(getIgnoreGroup())) 315 314 return true; 316 state = getIgnoreSubGroup(); 317 if (state != null && OsmValidator.hasIgnoredError(state)) 315 if (OsmValidator.hasIgnoredError(getIgnoreSubGroup())) 318 316 return true; 319 state = getIgnoreState();317 String state = getIgnoreState(); 320 318 return state != null && OsmValidator.hasIgnoredError(state); 321 319 }
Note:
See TracChangeset
for help on using the changeset viewer.