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-net.git


The following commit(s) were added to refs/heads/master by this push:
     new 9a849002 Don't use deprecated API internally
9a849002 is described below

commit 9a84900222382b737cd04923893b5c5ea0346d43
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Jul 19 09:48:20 2023 -0400

    Don't use deprecated API internally
---
 src/test/java/org/apache/commons/net/tftp/TFTPServer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/net/tftp/TFTPServer.java 
b/src/test/java/org/apache/commons/net/tftp/TFTPServer.java
index 1e8c5695..a56a3c99 100644
--- a/src/test/java/org/apache/commons/net/tftp/TFTPServer.java
+++ b/src/test/java/org/apache/commons/net/tftp/TFTPServer.java
@@ -606,7 +606,7 @@ public class TFTPServer implements Runnable, AutoCloseable {
 
     @Override
     protected void finalize() throws Throwable {
-        shutdown();
+        close();
     }
 
     /**

Reply via email to