changed from hashset to treeset to make match statuses used for filtering always come in same order
This commit is contained in:
parent
22e1b4dd0a
commit
99150c67b1
@ -10,6 +10,7 @@ import se.su.dsv.scipro.reusable.FilterBooleanPanel;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import java.util.TreeSet;
|
||||
|
||||
/**
|
||||
* User: fred
|
||||
@ -24,9 +25,9 @@ public abstract class MatchStatusFilterPanel extends Panel {
|
||||
public MatchStatusFilterPanel(String id) {
|
||||
super(id);
|
||||
|
||||
selectedStatuses = new HashSet<Match.Status>();
|
||||
selectedStatuses = new TreeSet<Match.Status>();
|
||||
|
||||
Set<Match.Status> statusSet = new HashSet<Match.Status>();
|
||||
Set<Match.Status> statusSet = new TreeSet<Match.Status>();
|
||||
|
||||
for (Match.Status status : Match.Status.values()){
|
||||
statusSet.add(status);
|
||||
|
Loading…
x
Reference in New Issue
Block a user