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

Fix connections.md: It's 'XMPPTCPConnectionConfiguration.Builder'

added the missing dot ('.'). The Builder was renamed a while ago.
This commit is contained in:
Florian Schmaus 2015-02-05 15:52:37 +01:00
parent a5beb7bd79
commit 772da6bfa0

View file

@ -29,7 +29,7 @@ Connect and Disconnect
``` ```
// Create the configuration for this new connection // Create the configuration for this new connection
XMPPTCPConnectionConfigurationBuilder configBuilder = XMPPTCPConnectionConfiguration.builder(); XMPPTCPConnectionConfiguration.Builder configBuilder = XMPPTCPConnectionConfiguration.builder();
configBuilder.setUsernameAndPassword("username", "password"); configBuilder.setUsernameAndPassword("username", "password");
configBuilder.setResource("SomeResource"); configBuilder.setResource("SomeResource");
configBuilder.setServiceName("jabber.org"); configBuilder.setServiceName("jabber.org");