From 864cc0050c4959533029908c72abf610cc3f7ee4 Mon Sep 17 00:00:00 2001 From: Bastien Rouiller Date: Tue, 2 Oct 2018 11:13:17 +0200 Subject: [PATCH] Fix example for Establishing a Connection --- documentation/gettingstarted.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); ```