Commit f938c80
committed
Replace HashMap with LinkedHashMap to ensure order
This makes it easier to unit test, as the order of the constraints in
queries are now guranateed. I can't come up with a better
solution. The performance characteristics of LinkedHashMap and HashMap
are similar, so this should not make too much of a difference in
runtime.1 parent 9c26f41 commit f938c80
1 file changed
Lines changed: 2 additions & 5 deletions
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 14 | + | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
| |||
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
35 | | - | |
| 32 | + | |
36 | 33 | | |
37 | 34 | | |
38 | 35 | | |
| |||
0 commit comments