Changeset 6834 in josm


Ignore:
Timestamp:
2014-02-11T00:10:33+01:00 (11 years ago)
Author:
simon04
Message:

see #8519 - Lanes validator: improve performance

File:
1 edited

Legend:

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

    r6647 r6834  
    6464    protected void checkNumberOfLanes(final OsmPrimitive p) {
    6565        final String lanes = p.get("lanes");
     66        if (lanes == null) return;
    6667        final String forward = Utils.firstNonNull(p.get("lanes:forward"), "0");
    6768        final String backward = Utils.firstNonNull(p.get("lanes:backward"), "0");
Note: See TracChangeset for help on using the changeset viewer.