-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[java] JSpecify annotations for ScriptKey and UnpinnedScriptKey
#16483
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
[java] JSpecify annotations for ScriptKey and UnpinnedScriptKey
#16483
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 |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
User description
🔗 Related Issues
Related #14291
💥 What does this PR do?
JSpecify annotations added to the:
org.openqa.selenium.ScriptKeyorg.openqa.selenium.UnpinnedScriptKey🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Add JSpecify null-safety annotations to
ScriptKeyclassAdd JSpecify null-safety annotations to
UnpinnedScriptKeyclassMark classes with
@NullMarkedfor comprehensive null-checkingAnnotate nullable parameters and return types appropriately
Diagram Walkthrough
File Walkthrough
ScriptKey.java
Add JSpecify null-safety annotationsjava/src/org/openqa/selenium/ScriptKey.java
@NullMarkedand@Nullable)@NullMarkedclass-level annotation for comprehensive null-checkingequals()method parameter with@NullableUnpinnedScriptKey.java
Add JSpecify null-safety annotationsjava/src/org/openqa/selenium/UnpinnedScriptKey.java
@NullMarkedand@Nullable)@NullMarkedclass-level annotation for comprehensive null-checkingscriptIdfield as@NullablesetScriptId()parameter andgetScriptId()return type as@Nullableequals()method parameter with@Nullable