1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-23 13:07:59 +01:00

fix typo in PingManager.getInstanceFor() function name

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13410 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Florian Schmaus 2013-01-26 09:47:39 +00:00 committed by flow
parent 704ef1f9dc
commit b9fe598129
2 changed files with 2 additions and 2 deletions

View file

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

View file

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