-  
 -   Notifications  
You must be signed in to change notification settings  - Fork 8.6k
 
 [java] JSpecify annotations for ExecuteMethod #16464 
 New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
 PR Compliance Guide 🔍Below is a summary of compliance checks for this PR: 
 Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label  |  |||||||||||||||||||||||
89ba46e to bf71403   Compare    PR Code Suggestions ✨Explore these optional code suggestions: 
  |  ||||||||||||
bf71403 to 1db3916   Compare   1db3916 to faa0dbd   Compare   
User description
🔗 Related Issues
Related #14291
💥 What does this PR do?
JSpecify annotations added to the:
org.openqa.selenium.remote.ExecuteMethodorg.openqa.selenium.remote.RemoteExecuteMethod🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Add JSpecify null-safety annotations to
ExecuteMethodinterfaceAdd JSpecify null-safety annotations to
RemoteExecuteMethodimplementationMark
parametersparameter as@Nullablein both classesApply
@NullMarkedclass-level annotation for default non-null semanticsDiagram Walkthrough
File Walkthrough
ExecuteMethod.java
Add JSpecify null-safety annotations to interfacejava/src/org/openqa/selenium/remote/ExecuteMethod.java
@NullMarkedand@Nullable)@NullMarkedclass-level annotation to interfaceparametersparameter as@Nullableinexecute()method signatureRemoteExecuteMethod.java
Add JSpecify null-safety annotations to implementationjava/src/org/openqa/selenium/remote/RemoteExecuteMethod.java
@NullMarkedand@Nullable)@NullMarkedclass-level annotation to implementation classparametersparameter as@Nullableinexecute()method override