Skip to content
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

fix: update README by replacing the deprecated new URL(String) with URI(String).toURL() #2263

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

muhammadyunus99
Copy link

@muhammadyunus99 muhammadyunus99 commented Jan 22, 2025

Change list

This PR replaces the deprecated new URL(String) constructor with URI(String).toURL() in the AndroidDriver initialization code. The new URL(String) constructor has been deprecated in Java 20, and this change ensures compatibility with newer Java versions while improving security and consistency in URL handling.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/net/URL.html

Types of changes

What types of changes are you proposing/introducing to Java client?
Put an x in the boxes that apply

  • No changes in production code.
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Details

Please provide more details about changes if it is necessary. If there are new features you can provide code samples which show the way they
work and possible use cases. Also you can create gists with pasted java code samples or put them here using markdown.
About markdown please read Mastering markdown and Writing on GitHub

Copy link

linux-foundation-easycla bot commented Jan 22, 2025

CLA Signed

  • ✅login: muhammadyunus99 / (ea21bb5)

The committers listed above are authorized under a signed CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant