Changeset 24094 in osm for applications/editors/josm/plugins
- Timestamp:
- 2010-11-06T18:39:50+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressEditContainer.java
r24093 r24094 290 290 if (ne != null) { 291 291 // Node is a street (segment) 292 if (ne instanceof StreetSegmentNode) {293 StreetSegmentNode newSegment = (StreetSegmentNode) ne;292 if (ne instanceof OSMStreetSegment) { 293 OSMStreetSegment newSegment = (OSMStreetSegment) ne; 294 294 295 295 if (newSegment != null) { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/NodeFactory.java
r24091 r24094 51 51 public static IOSMEntity createNodeFromWay(Way way) { 52 52 if (TagUtils.hasHighwayTag(way)) { 53 return new StreetSegmentNode(way);53 return new OSMStreetSegment(way); 54 54 } 55 55 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/OSMStreet.java
r24092 r24094 45 45 * @param segment 46 46 */ 47 public void addStreetSegment( StreetSegmentNodesegment) {47 public void addStreetSegment(OSMStreetSegment segment) { 48 48 lazyCreateChildren(); 49 49 … … 100 100 int sc = 0; 101 101 for (IOSMEntity node : children) { 102 if (node instanceof StreetSegmentNode) {102 if (node instanceof OSMStreetSegment) { 103 103 sc++; 104 104 } -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/OSMStreetSegment.java
r24090 r24094 26 26 */ 27 27 28 public class StreetSegmentNodeextends OSMEntityBase {28 public class OSMStreetSegment extends OSMEntityBase { 29 29 30 public StreetSegmentNode(OsmPrimitive osmObject) {30 public OSMStreetSegment(OsmPrimitive osmObject) { 31 31 super(osmObject); 32 32 }
Note:
See TracChangeset
for help on using the changeset viewer.