From 51d84647f3b5c9de6a25f561ce0ec7bcba26f556 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 24 Oct 2014 12:59:41 +0200 Subject: [PATCH] s/connection()/connection/ in PingManager --- .../src/main/java/org/jivesoftware/smackx/ping/PingManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/ping/PingManager.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/ping/PingManager.java index 2e4f5573f..2e18a4c4e 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/ping/PingManager.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/ping/PingManager.java @@ -188,7 +188,7 @@ public class PingManager extends Manager { connection.createPacketCollectorAndSend(ping).nextResultOrThrow(pingTimeout); } catch (XMPPException exc) { - return jid.equals(connection().getServiceName()); + return jid.equals(connection.getServiceName()); } return true; }