Make use of an unused local variable probably intended to replace later casts.
------------- Commit messages: - 8328700: Unused import and variable should be deleted in regex package Changes: https://git.openjdk.org/jdk/pull/18460/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18460&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8328700 Stats: 7 lines in 2 files changed: 0 ins; 1 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/18460.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18460/head:pull/18460 PR: https://git.openjdk.org/jdk/pull/18460