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 22:24:02 UTC

[commons-net] 02/03: Don't use C-like syntax.

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 e313ea45b090895d821b313ce59d5224a3c750df
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Sep 20 18:11:02 2020 -0400

    Don't use C-like syntax.
---
 .../java/org/apache/commons/net/telnet/TelnetTestSimpleServer.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/net/telnet/TelnetTestSimpleServer.java b/src/test/java/org/apache/commons/net/telnet/TelnetTestSimpleServer.java
index 8fa3b0a..0b4d95e 100644
--- a/src/test/java/org/apache/commons/net/telnet/TelnetTestSimpleServer.java
+++ b/src/test/java/org/apache/commons/net/telnet/TelnetTestSimpleServer.java
@@ -130,7 +130,7 @@ public class TelnetTestSimpleServer implements Runnable
         {
             return(clientSocket.getInputStream());
         }
-        return(null);
+        return null;
     }
 
     public OutputStream getOutputStream() throws IOException
@@ -139,6 +139,6 @@ public class TelnetTestSimpleServer implements Runnable
         {
             return(clientSocket.getOutputStream());
         }
-        return(null);
+        return null;
     }
 }