From b9fe59812923b73ecaa7353e0a1307a0924d5bea Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 26 Jan 2013 09:47:39 +0000 Subject: [PATCH] fix typo in PingManager.getInstanceFor() function name git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13410 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smackx/ping/PingManager.java | 2 +- source/org/jivesoftware/smackx/ping/ServerPingTask.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/org/jivesoftware/smackx/ping/PingManager.java b/source/org/jivesoftware/smackx/ping/PingManager.java index 4e6366a2e..efd1df43b 100644 --- a/source/org/jivesoftware/smackx/ping/PingManager.java +++ b/source/org/jivesoftware/smackx/ping/PingManager.java @@ -93,7 +93,7 @@ public class PingManager { maybeStartPingServerTask(); } - public static PingManager getInstaceFor(Connection connection) { + public static PingManager getInstanceFor(Connection connection) { PingManager pingManager = instances.get(connection); if (pingManager == null) { diff --git a/source/org/jivesoftware/smackx/ping/ServerPingTask.java b/source/org/jivesoftware/smackx/ping/ServerPingTask.java index 31c5a1e41..e350cd7d3 100644 --- a/source/org/jivesoftware/smackx/ping/ServerPingTask.java +++ b/source/org/jivesoftware/smackx/ping/ServerPingTask.java @@ -66,7 +66,7 @@ class ServerPingTask implements Runnable { break; } if (connection.isAuthenticated()) { - PingManager pingManager = PingManager.getInstaceFor(connection); + PingManager pingManager = PingManager.getInstanceFor(connection); boolean res = false; for(int i = 0; i < tries; i++) {