[java] Remove deprecated AppCacheStatus enum from the HTML5 package #15973
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
🔗 Related Issues
partially fixes #10397
💥 What does this PR do?
This pull request removes the
AppCacheStatus
enum from the Selenium codebase. The enum was deprecated and represented the application cache status, which is no longer relevant due to the deprecation of the AppCache API in modern browsers.Code removal:
java/src/org/openqa/selenium/html5/AppCacheStatus.java
: Deleted theAppCacheStatus
enum, including its values (UNCACHED
,IDLE
,CHECKING
,DOWNLOADING
,UPDATE_READY
,OBSOLETE
), associated methods (value
,getEnum
), and annotations (@Deprecated
,@NullMarked
). This change reflects the removal of outdated functionality tied to the deprecated AppCache API.🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Other
Description
Remove deprecated
AppCacheStatus
enum from HTML5 packageRemove deprecated app cache commands from
DriverCommand
interfaceClean up obsolete AppCache API functionality
Changes diagram
Changes walkthrough 📝
AppCacheStatus.java
Delete entire AppCacheStatus enum file
java/src/org/openqa/selenium/html5/AppCacheStatus.java
AppCacheStatus
enumvalue()
andgetEnum()
DriverCommand.java
Remove app cache command constants
java/src/org/openqa/selenium/remote/DriverCommand.java
GET_APP_CACHE
constantCLEAR_APP_CACHE
constant