You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/11/20 14:59:07 UTC
(commons-logging) 03/11: Deprecate org.apache.commons.logging.impl.WeakHashtable without replacement.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-logging.git
commit c265c9d46ebd0f8949dd0075c6a01984ecd650dc
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 20 09:43:37 2023 -0500
Deprecate org.apache.commons.logging.impl.WeakHashtable without
replacement.
---
src/changes/changes.xml | 4 ++++
src/main/java/org/apache/commons/logging/impl/WeakHashtable.java | 2 ++
2 files changed, 6 insertions(+)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index c3071cb..f075f16 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -48,6 +48,10 @@ The <action> type attribute can be add,update,fix,remove.
<action dev="ggregory" type="add" due-to="Piotr P. Karwasz">
Add support for Log4j API and SLF4J #177.
</action>
+ <!-- REMOVE -->
+ <action dev="ggregory" type="add" due-to="Piotr P. Karwasz">
+ Deprecate org.apache.commons.logging.impl.WeakHashtable without replacement.
+ </action>
<!-- FIX -->
<action issue="LOGGING-165" dev="britter" type="add">
Add Automatic-Module-Name Manifest Header for Java 9 compatibility.
diff --git a/src/main/java/org/apache/commons/logging/impl/WeakHashtable.java b/src/main/java/org/apache/commons/logging/impl/WeakHashtable.java
index e332954..a2111b0 100644
--- a/src/main/java/org/apache/commons/logging/impl/WeakHashtable.java
+++ b/src/main/java/org/apache/commons/logging/impl/WeakHashtable.java
@@ -106,7 +106,9 @@ import java.util.Set;
* for most or all users.
*
* @since 1.1
+ * @deprecated No longer used.
*/
+@Deprecated
public final class WeakHashtable extends Hashtable {
/** Entry implementation */