Changeset 4724 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2011-12-27T16:31:36+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/template_engine/ContextSwitchTemplate.java
r4546 r4724 171 171 List<OsmPrimitive> lhsList = lhs.getPrimitives(root); 172 172 for (OsmPrimitive o: rhs.getPrimitives(root)) { 173 if (lhsList.contains(o) && condition == null && condition.match(o)) {173 if (lhsList.contains(o) && (condition == null || condition.match(o))) { 174 174 result.add(o); 175 175 }
Note:
See TracChangeset
for help on using the changeset viewer.