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 2020/09/20 19:05:04 UTC

[commons-net] 08/09: Add missing annotations.

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

commit 36321b49c2075777bc96c276c193ed8cccf290f3
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Sep 20 15:01:34 2020 -0400

    Add missing annotations.
---
 src/test/java/org/apache/commons/net/tftp/TFTPServerMain.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/test/java/org/apache/commons/net/tftp/TFTPServerMain.java b/src/test/java/org/apache/commons/net/tftp/TFTPServerMain.java
index 02eb38f..e6d0973 100644
--- a/src/test/java/org/apache/commons/net/tftp/TFTPServerMain.java
+++ b/src/test/java/org/apache/commons/net/tftp/TFTPServerMain.java
@@ -120,6 +120,7 @@ public class TFTPServerMain {
                 }
             }
 
+            @Override
             TFTP newTFTP(){
                 if (verbose) {
                     return new TFTP() {
@@ -135,6 +136,7 @@ public class TFTPServerMain {
         };
 
         Runtime.getRuntime().addShutdownHook(new Thread() {
+            @Override
             public void run() {
                 System.out.println("Server shutting down");
                 tftpS.shutdown();