Merge commit '77d3a60869e7a780c6ae069e51530e1eacece5e2'
[fanfix.git] / src / jexer / net / TelnetServerSocket.java
index 923ba2998a59b6f6f39c1a5972e6a103c2ca5a09..3c5b3077ba591ff706b564ed3dd5955675e61240 100644 (file)
@@ -3,7 +3,7 @@
  *
  * The MIT License (MIT)
  *
- * Copyright (C) 2017 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -37,9 +37,16 @@ import java.net.SocketException;
 /**
  * This class provides a ServerSocket that return TelnetSocket's in accept().
  */
-public final class TelnetServerSocket extends ServerSocket {
+public class TelnetServerSocket extends ServerSocket {
 
-    // ServerSocket interface -------------------------------------------------
+    // ------------------------------------------------------------------------
+    // Variables --------------------------------------------------------------
+    // ------------------------------------------------------------------------
+
+
+    // ------------------------------------------------------------------------
+    // Constructors -----------------------------------------------------------
+    // ------------------------------------------------------------------------
 
     /**
      * Creates an unbound server socket.
@@ -94,6 +101,10 @@ public final class TelnetServerSocket extends ServerSocket {
         super(port, backlog, bindAddr);
     }
 
+    // ------------------------------------------------------------------------
+    // ServerSocket -----------------------------------------------------------
+    // ------------------------------------------------------------------------
+
     /**
      * Listens for a connection to be made to this socket and accepts it. The
      * method blocks until a connection is made.