File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/main/java/org/java_websocket Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -137,17 +137,18 @@ public interface WebSocket {
137137 boolean hasBufferedData ();
138138
139139 /**
140- * Returns the address of the endpoint this socket is connected to, or{@code null} if it is
140+ * Returns the address of the endpoint this socket is connected to, or {@code null} if it is
141141 * unconnected.
142142 *
143- * @return never returns null
143+ * @return the remote socket address or null, if this socket is unconnected
144144 */
145145 InetSocketAddress getRemoteSocketAddress ();
146146
147147 /**
148- * Returns the address of the endpoint this socket is bound to.
148+ * Returns the address of the endpoint this socket is bound to, or {@code null} if it is not
149+ * bound.
149150 *
150- * @return never returns null
151+ * @return the local socket address or null, if this socket is not bound
151152 */
152153 InetSocketAddress getLocalSocketAddress ();
153154
You can’t perform that action at this time.
0 commit comments