- Timestamp:
- 2017-06-10T14:15:29+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java
r12383 r12388 40 40 * @param all the collection of primitives for that the filter state should be updated 41 41 * @param filterMatcher the FilterMatcher 42 * @return true, if the filter state (normal / disabled / hidden) 43 * of any primitive has changed in the process 42 * @return true, if the filter state (normal / disabled / hidden) of any primitive has changed in the process 44 43 */ 45 44 public static boolean executeFilters(Collection<OsmPrimitive> all, FilterMatcher filterMatcher) { … … 89 88 * Clear all filter flags, i.e. turn off filters. 90 89 * @param prims the primitives 90 * @return true, if the filter state (normal / disabled / hidden) of any primitive has changed in the process 91 * @since 12388 (signature) 91 92 */ 92 public static void clearFilterFlags(Collection<OsmPrimitive> prims) { 93 public static boolean clearFilterFlags(Collection<OsmPrimitive> prims) { 94 boolean changed = false; 93 95 for (OsmPrimitive osm : prims) { 94 osm.unsetDisabledState();96 changed |= osm.unsetDisabledState(); 95 97 } 98 return changed; 96 99 } 97 100 }
Note:
See TracChangeset
for help on using the changeset viewer.