This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-net.git


The following commit(s) were added to refs/heads/master by this push:
     new f542d17  Now deprecated
f542d17 is described below

commit f542d17ffbc90bd92ce1b6f475ceb61e0a5f4568
Author: Sebb <[email protected]>
AuthorDate: Mon Jun 22 23:42:50 2020 +0100

    Now deprecated
---
 src/main/java/org/apache/commons/net/DatagramSocketClient.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/net/DatagramSocketClient.java 
b/src/main/java/org/apache/commons/net/DatagramSocketClient.java
index a2980f0..4273d2a 100644
--- a/src/main/java/org/apache/commons/net/DatagramSocketClient.java
+++ b/src/main/java/org/apache/commons/net/DatagramSocketClient.java
@@ -286,8 +286,9 @@ public abstract class DatagramSocketClient
      *
      * @return the charset name.
      * @since 3.3
-     * TODO Will be deprecated once the code requires Java 1.6 as a mininmum
+     * @deprecated Use {@link #getCharset()} instead
      */
+    @Deprecated
     public String getCharsetName() {
         return charset.name();
     }

Reply via email to