1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 10:19:41 +02:00

Merge pull request #395 from adiaholic/docFix

Correct documentation
This commit is contained in:
Florian Schmaus 2020-06-02 22:07:35 +02:00 committed by GitHub
commit afbe833a97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ import org.jivesoftware.smack.ConnectionConfiguration;
* </p>
* <pre>
* {@code
* XMPPTCPConnectionConfiguration conf = XMPPConnectionConfiguration.builder()
* XMPPTCPConnectionConfiguration conf = XMPPTCPConnectionConfiguration.builder()
* .setXmppDomain("example.org").setUsernameAndPassword("user", "password")
* .setCompressionEnabled(false).build();
* XMPPTCPConnection connection = new XMPPTCPConnection(conf);

View file

@ -587,7 +587,7 @@ public class XmppTcpTransportModule extends ModularXmppClientToServerConnectionM
@Override
protected List<SmackFuture<LookupConnectionEndpointsResult, Exception>> lookupConnectionEndpoints() {
// Assert that there are no stale discovred endpoints prior performing the lookup.
// Assert that there are no stale discovered endpoints prior performing the lookup.
assert discoveredTcpEndpoints == null;
List<SmackFuture<LookupConnectionEndpointsResult, Exception>> futures = new ArrayList<>(2);