Changeset 4821 in josm
- Timestamp:
- 2012-01-19T17:58:59+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ExceptionUtil.java
r4816 r4821 83 83 OsmPrimitive n = new Node(Long.parseLong(m.group(1))); 84 84 for (String s : m.group(2).split(",")) { 85 refs.add(new Relation(Long.parseLong( m.group(2))));85 refs.add(new Relation(Long.parseLong(s))); 86 86 } 87 87 return Pair.create(n, refs); … … 91 91 OsmPrimitive n = new Node(Long.parseLong(m.group(1))); 92 92 for (String s : m.group(2).split(",")) { 93 refs.add(new Way(Long.parseLong( m.group(2))));93 refs.add(new Way(Long.parseLong(s))); 94 94 } 95 95 return Pair.create(n, refs); … … 99 99 OsmPrimitive n = new Relation(Long.parseLong(m.group(1))); 100 100 for (String s : m.group(2).split(",")) { 101 refs.add(new Relation(Long.parseLong( m.group(2))));101 refs.add(new Relation(Long.parseLong(s))); 102 102 } 103 103 return Pair.create(n, refs); … … 107 107 OsmPrimitive n = new Way(Long.parseLong(m.group(1))); 108 108 for (String s : m.group(2).split(",")) { 109 refs.add(new Relation(Long.parseLong( m.group(2))));109 refs.add(new Relation(Long.parseLong(s))); 110 110 } 111 111 return Pair.create(n, refs); … … 115 115 OsmPrimitive n = new Way(Long.parseLong(m.group(1))); 116 116 for (String s : m.group(2).split(",")) { 117 refs.add(new Node(Long.parseLong( m.group(2))));117 refs.add(new Node(Long.parseLong(s))); 118 118 } 119 119 return Pair.create(n, refs);
Note:
See TracChangeset
for help on using the changeset viewer.