File tree 1 file changed +6
-6
lines changed
java/client/test/org/openqa/selenium/testing
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 29
29
import java .util .stream .Stream ;
30
30
31
31
public class IgnoreComparator {
32
- private Set <Browser > ignored = new HashSet <>();
32
+ private final Set <Browser > ignored = new HashSet <>();
33
33
34
34
// TODO(simon): reduce visibility
35
35
public void addDriver (Browser driverToIgnore ) {
@@ -46,11 +46,11 @@ public boolean shouldIgnore(Ignore ignore) {
46
46
}
47
47
48
48
private boolean shouldIgnore (Stream <Ignore > ignoreList ) {
49
- return ignoreList .anyMatch (driver ->
50
- (ignored .contains (driver .value ()) || driver .value () == Browser .ALL )
51
- && (!driver .travis () || TestUtilities .isOnTravis ())
52
- && (!driver .gitHubActions () || TestUtilities .isOnTravis ())
53
- && isOpen (driver .issue ()));
49
+ return ignoreList .anyMatch (
50
+ driver -> (ignored .contains (driver .value ()) || driver .value () == Browser .ALL )
51
+ && (!driver .travis () || TestUtilities .isOnTravis ())
52
+ && (!driver .gitHubActions () || TestUtilities .isOnGitHubActions ())
53
+ && isOpen (driver .issue ()));
54
54
}
55
55
56
56
private boolean isOpen (String issue ) {
You can’t perform that action at this time.
0 commit comments