Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class TableModelInstanceBodyDataProvider
private final List<TableRow> instances;
private List<TableRow> filteredInstances;
private final int propertyCount;
private final TableSpanUtils spanUtils;
private TableSpanUtils spanUtils;
private Map<Integer, Object> filters = new HashMap<>();

/**
Expand All @@ -52,7 +52,6 @@ public TableModelInstanceBodyDataProvider(final int propertyCount,
final List<TableRow> instances) {
this.instances = instances;
this.propertyCount = propertyCount;
this.spanUtils = new TableSpanUtils(instances);
this.refresh();
}

Expand Down Expand Up @@ -118,6 +117,7 @@ public void refresh() {
this.filteredInstances = this.instances.stream()
.filter(this::filterMatch)
.toList();
this.spanUtils = new TableSpanUtils(this.filteredInstances);
}

private boolean filterMatch(final TableRow row) {
Expand Down
Loading