Ignore:
Timestamp:
2016-06-01T23:17:40+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S1854 - Dead stores should be removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java

    r9665 r10308  
    2424     * Apply the filters to the primitives of the data set.
    2525     *
    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
    2827     * @param filterMatcher the FilterMatcher
    2928     * @return true, if the filter state (normal / disabled / hidden)
     
    3130     */
    3231    public static boolean executeFilters(Collection<OsmPrimitive> all, FilterMatcher filterMatcher) {
    33         boolean changed = false;
     32        boolean changed;
    3433        // first relations, then ways and nodes last; this is required to resolve dependencies
    3534        changed = doExecuteFilters(Utils.filter(all, OsmPrimitive.relationPredicate), filterMatcher);
Note: See TracChangeset for help on using the changeset viewer.