Changeset 5776 in josm


Ignore:
Timestamp:
2013-03-13T22:35:36+01:00 (12 years ago)
Author:
Don-vip
Message:

fix #8506 - Remove "House number on a non-building area" validator test

File:
1 edited

Legend:

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

    r5748 r5776  
    3939    protected static final int MULTIPLE_STREET_RELATIONS = 2604;
    4040    protected static final int HOUSE_NUMBER_TOO_FAR = 2605;
    41     protected static final int HOUSE_NUMBER_ON_NON_BUILDING_AREA = 2606;
    4241   
    4342    protected static final String ADDR_HOUSE_NUMBER  = "addr:housenumber";
     
    101100    public void visit(Way w) {
    102101        getAndCheckAssociatedStreets(w);
    103         if (w.isArea() && w.hasKey(ADDR_HOUSE_NUMBER) && !w.hasKey("building")) {
    104             errors.add(new AddressError(HOUSE_NUMBER_ON_NON_BUILDING_AREA, w, tr("House number on a non-building area")));
    105         }
    106102    }
    107103
Note: See TracChangeset for help on using the changeset viewer.