> Deprecate the `contains` method on `java.util.Hashtable`, > `java.util.Properties`, and `java.util.concurrent.ConcurrentHashMap` for > being confusing with `containsKey`. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains eight additional commits since the last revision: - Reword deprecation again - Merge branch 'master' of github.com:openjdk/jdk into cleanup/hashtable-contains - Merge branch 'master' of github.com:openjdk/jdk into cleanup/hashtable-contains - Simplify specs - Simplify specs - Merge branch 'master' of github.com:openjdk/jdk into cleanup/hashtable-contains - Redundant suppression - Deprecate the hashtable contains methods ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33593/files - new: https://git.openjdk.org/jdk/pull/33593/files/ab27b83a..6341dc02 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33593&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33593&range=03-04 Stats: 143353 lines in 759 files changed: 37460 ins; 87022 del; 18871 mod Patch: https://git.openjdk.org/jdk/pull/33593.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33593/head:pull/33593 PR: https://git.openjdk.org/jdk/pull/33593
