-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] refactor(remote/command): Merge overload's business logic #14469
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
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.
Thank you for the PR. It looks great, but please revert the change to java.iml
java/java.iml
Outdated
@@ -3,7 +3,7 @@ | |||
<component name="ModuleRunConfigurationManager"> | |||
<shared /> | |||
</component> | |||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11"> |
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.
We still target Java 11
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.
Since we use the Bazel IntelliJ plugin, I think we can actually delete this file entirely. I'll do some checks.
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.
@shs96c Thanks to review, and i'd revert that line to JDK_11.
But selenium's ci runs via Java 17.
So It in order not to get confused, we can considor to manage language level on workspace root. (not only java. maybe like nvmrc in node.js projects?)
d8f041e
to
ea43ee8
Compare
@shs96c I applied your review. Please can you see the submitted commit? |
8f5c37e
to
49b0db5
Compare
@shs96c Please can you provide any updates? |
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Merge overload's business logic to make it easy to see at a glance
Motivation and Context
Types of changes
Checklist
PR Type
enhancement, configuration changes
Description
DriverCommand
to streamline business logic by delegating deprecated methods to theirDuration
counterparts.java.iml
from JDK 11 to JDK 17 to ensure compatibility with newer Java features.Changes walkthrough 📝
DriverCommand.java
Refactor overloaded methods for session and timeout commands
java/src/org/openqa/selenium/remote/DriverCommand.java
NEW_SESSION
and timeout settings.Duration
counterparts.java.iml
Update Java language level to JDK 17
java/java.iml