Bug 8351: Enforce check-style rules for restconf - sal-rest-connector
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / netconf / sal / streams / websockets / WebSocketServer.java
index ab4fd7ee78061f4ddf8b92728995ef1f32f6d63c..23bff91a5317b47726ba8d8bf6f24bc380d33054 100644 (file)
@@ -39,7 +39,7 @@ public class WebSocketServer implements Runnable {
     }
 
     /**
-     * Create singleton instance of {@link WebSocketServer}
+     * Create singleton instance of {@link WebSocketServer}.
      *
      * @param port TCP port used for this server
      * @return instance of {@link WebSocketServer}
@@ -53,6 +53,8 @@ public class WebSocketServer implements Runnable {
     }
 
     /**
+     * Get the websocket of TCP port.
+     *
      * @return websocket TCP port
      */
     public int getPort() {
@@ -60,7 +62,7 @@ public class WebSocketServer implements Runnable {
     }
 
     /**
-     * Get instance of {@link WebSocketServer} created by {@link #createInstance(int)}
+     * Get instance of {@link WebSocketServer} created by {@link #createInstance(int)}.
      *
      * @return instance of {@link WebSocketServer}
      */
@@ -70,7 +72,7 @@ public class WebSocketServer implements Runnable {
     }
 
     /**
-     * Destroy the existing instance
+     * Destroy the existing instance.
      */
     public static void destroyInstance() {
         Preconditions.checkState(instance != null, "createInstance() must be called prior to destroyInstance()");