void (@Nullable BranchFilters filters) { if (filters != null && filters.isEmpty()) filters = null; boolean anyFilterDiffers = false; if (filterDiffers(filters, BranchFilters::getBranchFilter, myFilter)) { triggerFilterSet(filters, BranchFilters::getBranchFilter, BRANCH_FILTER.getName()); anyFilterDiffers = true; } if (filterDiffers(filters, BranchFilters::getRevisionFilter, myFilter)) { triggerFilterSet(filters, BranchFilters::getRevisionFilter, REVISION_FILTER.getName()); anyFilterDiffers = true; } if (filterDiffers(filters, BranchFilters::getRangeFilter, myFilter)) { triggerFilterSet(filters, BranchFilters::getRangeFilter, RANGE_FILTER.getName()); anyFilterDiffers = true; } if (anyFilterDiffers) { super.setFilter(filters); } }