mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
requireNotNullOrEmpty -> requireNotNullNorEmpty
This commit is contained in:
parent
cf2b3ef634
commit
74bebc13e6
32 changed files with 82 additions and 52 deletions
|
@ -598,7 +598,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
|||
failedAddresses.add(hostAddress);
|
||||
} else {
|
||||
socket = socketFactory.createSocket();
|
||||
StringUtils.requireNotNullOrEmpty(host, "Host of HostAddress " + hostAddress + " must not be null when using a Proxy");
|
||||
StringUtils.requireNotNullNorEmpty(host, "Host of HostAddress " + hostAddress + " must not be null when using a Proxy");
|
||||
final String hostAndPort = host + " at port " + port;
|
||||
LOGGER.finer("Trying to establish TCP connection via Proxy to " + hostAndPort);
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue