mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
Tests: improved performance
This commit is contained in:
parent
49308bcd4f
commit
b9db36eb22
2 changed files with 11 additions and 16 deletions
|
|
@ -127,7 +127,7 @@ public class Modes extends LinkedHashMap<UUID, Mode> {
|
|||
}
|
||||
|
||||
public List<UUID> getSelectedModes() {
|
||||
// sorted as original modes
|
||||
// modes can be selected in any order by user, but execution must be in rule's order
|
||||
List<UUID> res = new ArrayList<>();
|
||||
for (Mode mode : this.values()) {
|
||||
for (UUID selectedId : this.selectedModes) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue