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++) {