Changeset 2954 in josm for trunk


Ignore:
Timestamp:
2010-02-08T17:18:11+01:00 (10 years ago)
Author:
mjulius
Message:

fixes #4491 - Exception after typo in oneway tag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPaintVisitor.java

    r2845 r2954  
    333333            Node firstNode = viaWay.firstNode();
    334334            Node lastNode = viaWay.lastNode();
    335             boolean onewayvia = false;
     335            Boolean onewayvia = false;
    336336
    337337            String onewayviastr = viaWay.get("oneway");
     
    345345                } else {
    346346                    onewayvia = OsmUtils.getOsmBoolean(onewayviastr);
     347                    if (onewayvia == null) {
     348                        onewayvia = false;
     349                    }
    347350                }
    348351            }
Note: See TracChangeset for help on using the changeset viewer.