Ignore:
Timestamp:
2010-05-07T19:22:43+02:00 (14 years ago)
Author:
lambertus
Message:

Fix bug described in http://josm.openstreetmap.de/ticket/4985

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/terracer/src/terracer/TerracerAction.java

    r21094 r21163  
    239239                        // add the tags of the outline to each building (e.g. source=*)
    240240                        TagCollection.from(outline).applyTo(terr);
    241                                
    242                                 String number = Integer.toString(from + i * step);
    243 
     241
     242                                String number = null;
     243                                if (from != null) {
     244                                        number = Integer.toString(from + i * step);
     245                                }
    244246                        terr = addressBuilding(terr, street, streetName, number);
    245247
Note: See TracChangeset for help on using the changeset viewer.