Changeset 10308 in josm for trunk/src/org/openstreetmap/josm/data/osm
- Timestamp:
- 2016-06-01T23:17:40+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DataSetMerger.java
r9961 r10308 111 111 // the target dataset. Create a clone and add it to the target dataset. 112 112 // 113 OsmPrimitive target = null;113 OsmPrimitive target; 114 114 switch(source.getType()) { 115 115 case NODE: target = source.isNew() ? new Node() : new Node(source.getId()); break; -
trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java
r9665 r10308 24 24 * Apply the filters to the primitives of the data set. 25 25 * 26 * @param all the collection of primitives for that the filter state should 27 * be updated 26 * @param all the collection of primitives for that the filter state should be updated 28 27 * @param filterMatcher the FilterMatcher 29 28 * @return true, if the filter state (normal / disabled / hidden) … … 31 30 */ 32 31 public static boolean executeFilters(Collection<OsmPrimitive> all, FilterMatcher filterMatcher) { 33 boolean changed = false;32 boolean changed; 34 33 // first relations, then ways and nodes last; this is required to resolve dependencies 35 34 changed = doExecuteFilters(Utils.filter(all, OsmPrimitive.relationPredicate), filterMatcher); -
trunk/src/org/openstreetmap/josm/data/osm/event/DatasetEventManager.java
r10043 r10308 36 36 DataSet dataSet = null; 37 37 AbstractDatasetChangedEvent consolidatedEvent = null; 38 AbstractDatasetChangedEvent event = null;38 AbstractDatasetChangedEvent event; 39 39 40 40 while ((event = eventsInEDT.poll()) != null) {
Note:
See TracChangeset
for help on using the changeset viewer.