-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[java] JSpecify annotations for `org.openqa.selenium.federatedcredent… #16461
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 `org.openqa.selenium.federatedcredent… #16461
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:
|
|||||||||
daefcd6 to
82f6a3f
Compare
82f6a3f to
c272612
Compare
User description
🔗 Related Issues
Related #14291
💥 What does this PR do?
JSpecify annotations added to the:
org.openqa.selenium.federatedcredentialmanagement.FederatedCredentialManagementAccountorg.openqa.selenium.federatedcredentialmanagement.FederatedCredentialManagementDialogorg.openqa.selenium.federatedcredentialmanagement.HasFederatedCredentialManagement🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Add JSpecify null-safety annotations to FedCM classes
Mark classes with @NullMarked for comprehensive null checking
Annotate nullable fields and return types with @nullable
Improve type safety across federated credential management API
Diagram Walkthrough
File Walkthrough
FederatedCredentialManagementAccount.java
Add null-safety annotations to account classjava/src/org/openqa/selenium/federatedcredentialmanagement/FederatedCredentialManagementAccount.java
@NullMarkedclass-level annotation for comprehensive nullchecking
@Nullableannotations to all nine private String fields@Nullableannotations to all nine getter method return typesFederatedCredentialManagementDialog.java
Add null-safety annotations to dialog interfacejava/src/org/openqa/selenium/federatedcredentialmanagement/FederatedCredentialManagementDialog.java
@NullMarkedinterface-level annotation@Nullableannotations to three getter method return typesgetDialogType(),getTitle(),getSubtitle()HasFederatedCredentialManagement.java
Add null-safety annotations to capability interfacejava/src/org/openqa/selenium/federatedcredentialmanagement/HasFederatedCredentialManagement.java
@NullMarkedinterface-level annotation@Nullableannotation togetFederatedCredentialManagementDialog()return type
@Betaannotation