Changeset 13765 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r13764 r13765 515 515 } 516 516 517 protectedvoid removePrimitive(OsmPrimitive primitive) {517 void removePrimitive(OsmPrimitive primitive) { 518 518 checkModifiable(); 519 519 beginUpdate(); -
trunk/test/unit/org/openstreetmap/josm/data/osm/QuadBucketsTest.java
r11324 r13765 43 43 List<Relation> allRelations = new ArrayList<>(ds.getRelations()); 44 44 45 QuadBuckets<Node> nodes = Reflection.field("nodes").ofType(new TypeRef<QuadBuckets<Node>>() {}).in(ds).get(); 46 QuadBuckets<Way> ways = Reflection.field("ways").ofType(new TypeRef<QuadBuckets<Way>>() {}).in(ds).get(); 47 Collection<Relation> relations = Reflection.field("relations").ofType(new TypeRef<Collection<Relation>>() {}).in(ds).get(); 45 QuadBucketPrimitiveStore<Node, Way, Relation> s = Reflection.field("store").ofType( 46 new TypeRef<QuadBucketPrimitiveStore<Node, Way, Relation>>() {}).in(ds).get(); 47 QuadBuckets<Node> nodes = Reflection.field("nodes").ofType(new TypeRef<QuadBuckets<Node>>() {}).in(s).get(); 48 QuadBuckets<Way> ways = Reflection.field("ways").ofType(new TypeRef<QuadBuckets<Way>>() {}).in(s).get(); 49 Collection<Relation> relations = Reflection.field("relations").ofType(new TypeRef<Collection<Relation>>() {}).in(s).get(); 48 50 49 51 int expectedCount = allNodes.size();
Note:
See TracChangeset
for help on using the changeset viewer.