Changeset 28710 in osm for applications/editors/josm/plugins/reltoolbox
- Timestamp:
- 2012-09-11T17:57:32+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/reltoolbox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/build.xml
r28708 r28710 30 30 <project name="reltoolbox" default="dist" basedir="."> 31 31 <!-- enter the SVN commit message --> 32 <property name="commit.message" value="RelToolbox: fix possible NPE inassociatedStreetfixer"/>32 <property name="commit.message" value="RelToolbox: update validations for associatedStreet"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 34 <property name="plugin.main.version" value="5018"/> -
applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/AssociatedStreetFixer.java
r28708 r28710 49 49 for (RelationMember m : rel.getMembers()) { 50 50 if ("street".equals(m.getRole()) && !streetName.equals(m.getWay().get("name"))) { 51 setWarningMessage(tr("Relation has streets with different names")); 52 return false; 51 String anotherName = m.getWay().get("name"); 52 if (anotherName != null && !anotherName.isEmpty()) { 53 setWarningMessage(tr("Relation has streets with different names")); 54 return false; 55 } 53 56 } 54 57 }
Note:
See TracChangeset
for help on using the changeset viewer.