Skip to content

Commit

Permalink
Replace Collectors.toList
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Oct 26, 2023
1 parent c0c05fe commit b39a35c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import static java.util.Arrays.asList;
import static java.util.Arrays.stream;
import static java.util.Collections.singletonList;
import static java.util.stream.Collectors.toList;
import static org.junit.platform.commons.util.AnnotationUtils.findAnnotation;
import static org.slf4j.LoggerFactory.getLogger;

Expand Down Expand Up @@ -508,7 +507,7 @@ public boolean supportsTestTemplate(ExtensionContext context) {
.map(s -> s.equals(WebDriver.class)
|| s.equals(RemoteWebDriver.class)
|| selenideHandler.isSelenide(s))
.collect(toList()).contains(false);
.toList().contains(false);
}
return allWebDriver;
}
Expand Down

0 comments on commit b39a35c

Please sign in to comment.