diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-19 02:19:26 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-19 02:19:26 +0200 |
commit | 8c596682730de422fae9489287fee27b36137c1a (patch) | |
tree | 0113f536dfe3a0f3a4317bc4228bf64f42b95667 /src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java | |
parent | 1235e3daca59d107e663319fc72e800ed94378bd (diff) |
made debugging verbose again on specific parts
Diffstat (limited to 'src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java b/src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java index a45ebb76..4618a1be 100644 --- a/src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java +++ b/src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java @@ -3,8 +3,8 @@ package eu.siacs.conversations.xmpp.jingle; import java.math.BigInteger; import java.security.SecureRandom; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; -import java.util.concurrent.ConcurrentHashMap; import android.util.Log; @@ -20,10 +20,9 @@ public class JingleConnectionManager { private XmppConnectionService xmppConnectionService; - private List<JingleConnection> connections = new ArrayList<JingleConnection>(); // make - // concurrent + private List<JingleConnection> connections = new ArrayList<JingleConnection>(); - private ConcurrentHashMap<String, JingleCandidate> primaryCandidates = new ConcurrentHashMap<String, JingleCandidate>(); + private HashMap<String, JingleCandidate> primaryCandidates = new HashMap<String, JingleCandidate>(); private SecureRandom random = new SecureRandom(); @@ -110,6 +109,7 @@ public class JingleConnectionManager { } } else { + Log.d("xmppService","found primary candidate in archive"); listener.onPrimaryCandidateFound(true, this.primaryCandidates.get(account.getJid())); } |