Changeset 33311 in osm for applications/editors/josm/plugins/reltoolbox/src/relcontext/RelContextDialog.java
- Timestamp:
- 2017-05-13T14:56:51+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/src/relcontext/RelContextDialog.java
r33265 r33311 443 443 while (r.ready()) { 444 444 String line = r.readLine(); 445 StringTokenizer t = new StringTokenizer(line, " ,;:\""); 446 if (t.hasMoreTokens()) { 447 String type = t.nextToken(); 445 String[] typeAndRoles = line.split(":", 2); 446 if (typeAndRoles.length == 2 && typeAndRoles[1].length() > 0) { 447 String type = typeAndRoles[0].trim(); 448 StringTokenizer t = new StringTokenizer(typeAndRoles[1], " ,;\""); 448 449 List<String> roles = new ArrayList<>(); 449 450 while (t.hasMoreTokens()) {
Note:
See TracChangeset
for help on using the changeset viewer.
