diff --git a/documentation/gettingstarted.md b/documentation/gettingstarted.md index 1b0d33ec2..143b2d094 100644 --- a/documentation/gettingstarted.md +++ b/documentation/gettingstarted.md @@ -47,7 +47,7 @@ server. Below are code examples for making a connection: ``` // Create a connection and login to the example.org XMPP service. -AbstractXMPPConnection connection = new XMPPTCPConnection("username", "password", "example.org"); +AbstractXMPPConnection conn1 = new XMPPTCPConnection("username", "password", "example.org"); conn1.connect().login(); ```