We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91d312 commit da8fc63Copy full SHA for da8fc63
java/src/org/openqa/selenium/grid/node/local/LocalNode.java
@@ -49,6 +49,7 @@
49
import java.util.Arrays;
50
import java.util.Collections;
51
import java.util.HashMap;
52
+import java.util.LinkedHashSet;
53
import java.util.List;
54
import java.util.Map;
55
import java.util.Optional;
@@ -970,7 +971,10 @@ public NodeStatus getStatus() {
970
971
lastStarted,
972
session);
973
})
- .collect(Collectors.toUnmodifiableSet());
974
+ .collect(
975
+ Collectors.collectingAndThen(
976
+ Collectors.toCollection(LinkedHashSet::new),
977
+ set -> Collections.unmodifiableSet(new LinkedHashSet<>(set))));
978
979
Availability availability = isDraining() ? DRAINING : UP;
980
0 commit comments