-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[java] JSpecify annotations for CommandCodec
#16492
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 |
|||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
asolntsev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@diemol Recommended to merge.
User description
🔗 Related Issues
Related #14291
💥 What does this PR do?
JSpecify annotations added to the:
org.openqa.selenium.remote.CommandCodecorg.openqa.selenium.remote.AbstractHttpCommandCodecorg.openqa.selenium.remote.W3CHttpCommandCodec🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Add JSpecify @NullMarked annotations to CommandCodec interface
Add JSpecify @NullMarked annotations to AbstractHttpCommandCodec class
Add JSpecify @NullMarked annotations to W3CHttpCommandCodec class
Add @nullable annotation to equals() method parameter in CommandSpec
Diagram Walkthrough
File Walkthrough
CommandCodec.java
Add JSpecify @NullMarked to CommandCodec interfacejava/src/org/openqa/selenium/remote/CommandCodec.java
org.jspecify.annotations.NullMarked@NullMarkedannotation to theCommandCodecinterfaceAbstractHttpCommandCodec.java
Add JSpecify annotations to AbstractHttpCommandCodecjava/src/org/openqa/selenium/remote/codec/AbstractHttpCommandCodec.java
org.jspecify.annotations.NullMarkedand@Nullable@NullMarkedannotation to theAbstractHttpCommandCodecclass@Nullableannotation to theequals()method'sObject oparameterW3CHttpCommandCodec.java
Add JSpecify @NullMarked to W3CHttpCommandCodec classjava/src/org/openqa/selenium/remote/codec/w3c/W3CHttpCommandCodec.java
org.jspecify.annotations.NullMarked@NullMarkedannotation to theW3CHttpCommandCodecclass