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).

-------------

Commit messages:
 - Deprecate the hashtable contains methods

Changes: https://git.openjdk.org/jdk/pull/33593/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33593&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8268665
  Stats: 36 lines in 3 files changed: 22 ins; 4 del; 10 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

Reply via email to