Changeset 23156 in osm for applications/editors/josm/plugins/toms
- Timestamp:
- 2010-09-14T15:31:55+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/toms/src/toms/seamarks/buoys
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/Buoy.java
r23155 r23156 387 387 } else if (key.matches("^\\d$")) { 388 388 index = key.charAt(0) - '0'; 389 key = ""; 389 String values[] = value.split(":"); 390 if (values[0].equals("red")) 391 LightColour[index] = "R"; 392 else if (values[0].equals("green")) 393 LightColour[index] = "G"; 394 else if (values[0].equals("white")) 395 LightColour[index] = "W"; 396 Bearing1[index] = values[1]; 397 Bearing2[index] = values[2]; 398 Radius[index] = values[3]; 390 399 } else { 391 400 index = 0; -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoyNota.java
r23155 r23156 20 20 super(dia); 21 21 22 String str;23 22 Map<String, String> keys; 24 23 keys = node.getKeys();
Note:
See TracChangeset
for help on using the changeset viewer.