Changeset 2299 in josm for trunk/src/org/openstreetmap/josm/data/osm
- Timestamp:
- 2009-10-18T18:37:48+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/NodeData.java
r2284 r2299 16 16 } 17 17 18 @Override 19 public String toString() { 20 return super.toString() + " NODE " + coor; 21 } 22 18 23 } -
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r2293 r2299 841 841 842 842 protected void saveCommonAttributes(PrimitiveData data) { 843 data.setId(data.getId()); 843 844 data.getKeys().clear(); 844 845 data.getKeys().putAll(getKeys()); -
trunk/src/org/openstreetmap/josm/data/osm/PrimitiveData.java
r2284 r2299 12 12 * 13 13 */ 14 public class PrimitiveData {14 public abstract class PrimitiveData { 15 15 16 16 // Useful? … … 76 76 77 77 78 @Override 79 public String toString() { 80 StringBuilder builder = new StringBuilder(); 81 82 builder.append(id).append(keys); 83 if (modified) { 84 builder.append("M"); 85 } 86 if (visible) { 87 builder.append("V"); 88 } 89 if (deleted) { 90 builder.append("D"); 91 } 92 93 return builder.toString(); 94 } 95 96 78 97 } -
trunk/src/org/openstreetmap/josm/data/osm/QuadBuckets.java
r2286 r2299 573 573 QBLevel find_exact_branch(T n) 574 574 { 575 if (content != null && content.contains(n)) { 576 return this; 577 } 578 575 579 QBLevel ret = null; 576 580 for (QBLevel l : children) { -
trunk/src/org/openstreetmap/josm/data/osm/RelationData.java
r2284 r2299 13 13 } 14 14 15 @Override 16 public String toString() { 17 return super.toString() + " REL " + members; 18 } 19 15 20 } -
trunk/src/org/openstreetmap/josm/data/osm/RelationMemberData.java
r2284 r2299 37 37 } 38 38 39 @Override 40 public String toString() { 41 return memberType.getAPIName() + " " + memberId; 42 } 43 39 44 } -
trunk/src/org/openstreetmap/josm/data/osm/WayData.java
r2284 r2299 13 13 } 14 14 15 @Override 16 public String toString() { 17 return super.toString() + " WAY" + nodes.toString(); 18 } 19 15 20 }
Note:
See TracChangeset
for help on using the changeset viewer.