1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 18:48:00 +01:00

[socks5] Fix javadoc of getLocalStreamHost()

The method does no longer return null.

Reported-by: Simon Abykov <simon.abykov@gmail.com>
This commit is contained in:
Florian Schmaus 2021-09-13 18:23:59 +02:00
parent 8ae5ef1f51
commit 09710b3203

View file

@ -652,10 +652,9 @@ public final class Socks5BytestreamManager extends Manager implements Bytestream
/**
* Returns the stream host information of the local SOCKS5 proxy containing the IP address and
* the port or null if local SOCKS5 proxy is not running.
* the port. The returned list may be empty if the local SOCKS5 proxy is not running.
*
* @return the stream host information of the local SOCKS5 proxy or null if local SOCKS5 proxy
* is not running
* @return the stream host information of the local SOCKS5 proxy
*/
public List<StreamHost> getLocalStreamHost() {
// Ensure that the local SOCKS5 proxy is running (if enabled).