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 7eb4036e Comments
7eb4036e is described below

commit 7eb4036e63caa5132a2a87f1664c48c1c41b133c
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue May 28 10:36:14 2024 -0400

    Comments
---
 src/test/java/org/apache/commons/net/chargen/CharGenUDPClientTest.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/src/test/java/org/apache/commons/net/chargen/CharGenUDPClientTest.java 
b/src/test/java/org/apache/commons/net/chargen/CharGenUDPClientTest.java
index a2fd4f31..34246c41 100644
--- a/src/test/java/org/apache/commons/net/chargen/CharGenUDPClientTest.java
+++ b/src/test/java/org/apache/commons/net/chargen/CharGenUDPClientTest.java
@@ -39,6 +39,7 @@ public class CharGenUDPClientTest {
     @Test
     public void testReceiver() throws IOException {
         try (CharGenUDPClient client = new CharGenUDPClient()) {
+            // Not connected
             assertThrows(NullPointerException.class, client::receive);
         }
     }
@@ -46,6 +47,7 @@ public class CharGenUDPClientTest {
     @Test
     public void testSend() throws IOException {
         try (CharGenUDPClient client = new CharGenUDPClient()) {
+            // Not connected
             assertThrows(NullPointerException.class, () -> 
client.send(InetAddress.getLocalHost()));
             assertThrows(NullPointerException.class, () -> 
client.send(InetAddress.getLocalHost(), CharGenUDPClient.DEFAULT_PORT));
         }

Reply via email to