mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 04:22:05 +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:
parent
704ef1f9dc
commit
b9fe598129
2 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ public class PingManager {
|
||||||
maybeStartPingServerTask();
|
maybeStartPingServerTask();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static PingManager getInstaceFor(Connection connection) {
|
public static PingManager getInstanceFor(Connection connection) {
|
||||||
PingManager pingManager = instances.get(connection);
|
PingManager pingManager = instances.get(connection);
|
||||||
|
|
||||||
if (pingManager == null) {
|
if (pingManager == null) {
|
||||||
|
|
|
@ -66,7 +66,7 @@ class ServerPingTask implements Runnable {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (connection.isAuthenticated()) {
|
if (connection.isAuthenticated()) {
|
||||||
PingManager pingManager = PingManager.getInstaceFor(connection);
|
PingManager pingManager = PingManager.getInstanceFor(connection);
|
||||||
boolean res = false;
|
boolean res = false;
|
||||||
|
|
||||||
for(int i = 0; i < tries; i++) {
|
for(int i = 0; i < tries; i++) {
|
||||||
|
|
Loading…
Reference in a new issue