Changeset 14401 in josm


Ignore:
Timestamp:
2018-11-02T01:39:42+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #13818 - remove "Areas share segment" warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/OverlappingWays.java

    r14398 r14401  
    3535 *
    3636 * @author frsantos
     37 * @since 3669
    3738 */
    3839public class OverlappingWays extends Test {
     
    4748    protected static final int OVERLAPPING_RAILWAY_AREA = 112;
    4849    protected static final int OVERLAPPING_WAY_AREA = 113;
    49     protected static final int OVERLAPPING_AREA = 120;
    5050    protected static final int DUPLICATE_WAY_SEGMENT = 121;
    5151
     
    119119                    if (area > 0) {
    120120                        if (ways == 0 || duplicated.size() == area) {
    121                             errortype = tr("Areas share segment");
    122                             type = OVERLAPPING_AREA;
     121                            continue; // We previously issued an annoying "Areas share segment" warning
    123122                        } else if (highway == ways) {
    124123                            errortype = tr("Highways share segment with area");
Note: See TracChangeset for help on using the changeset viewer.