[java] specify nullability in packages org.openqa.selenium.chrom*#17152
[java] specify nullability in packages org.openqa.selenium.chrom*#17152asolntsev merged 1 commit intoSeleniumHQ:trunkfrom
org.openqa.selenium.chrom*#17152Conversation
Review Summary by QodoAdd JSpecify nullability annotations to chrome and chromium packages
WalkthroughsDescription• Add JSpecify nullability annotations to chrome and chromium packages • Introduce helper methods for safe capability retrieval and execution • Refactor code to eliminate unsafe casts and improve type safety • Clean up unused imports and simplify implementation patterns File Changes1. java/src/org/openqa/selenium/Capabilities.java
|
Code Review by Qodo
1. ExecuteMethod.execute() made generic
|
🔗 Related Issues
Partially implements #14291
💥 What does this PR do?
Added JSpecify nullability annotations to packages:
org.openqa.selenium.chromeorg.openqa.selenium.chromiumorg.openqa.selenium.remote, as much as needed for previous two)🔄 Types of changes