Minor comment and whitespace fixes.

This commit is contained in:
boris 2014-08-29 08:27:11 +00:00
parent 595727b406
commit 5108d99220
5 changed files with 23 additions and 23 deletions

View File

@ -440,7 +440,7 @@ public class Agent
} }
/** /**
* Starts an asynchronous harvest across all components and reports newly * Starts an asynchronous(?) harvest across all components and reports newly
* discovered candidates to <tt>trickleCallback</tt>. * discovered candidates to <tt>trickleCallback</tt>.
* *
* @param trickleCallback the callback that will be notified for all newly * @param trickleCallback the callback that will be notified for all newly

View File

@ -169,7 +169,7 @@ class ConnectivityCheckClient
* *
* @param candidatePair that {@link CandidatePair} that we'd like to start * @param candidatePair that {@link CandidatePair} that we'd like to start
* a check for. * a check for.
* @param originalWiatInterval * @param originalWaitInterval
* @param maxWaitInterval * @param maxWaitInterval
* @param maxRetransmissions * @param maxRetransmissions
* @return a reference to the {@link TransactionID} used in the connectivity * @return a reference to the {@link TransactionID} used in the connectivity
@ -178,7 +178,7 @@ class ConnectivityCheckClient
*/ */
protected TransactionID startCheckForPair( protected TransactionID startCheckForPair(
CandidatePair candidatePair, CandidatePair candidatePair,
int originalWiatInterval, int originalWaitInterval,
int maxWaitInterval, int maxWaitInterval,
int maxRetransmissions) int maxRetransmissions)
{ {
@ -266,7 +266,7 @@ class ConnectivityCheckClient
localCandidate.getBase().getTransportAddress(), localCandidate.getBase().getTransportAddress(),
this, this,
tran, tran,
originalWiatInterval, originalWaitInterval,
maxWaitInterval, maxWaitInterval,
maxRetransmissions); maxRetransmissions);
if(logger.isLoggable(Level.FINEST)) if(logger.isLoggable(Level.FINEST))

View File

@ -344,8 +344,8 @@ public class IceMediaStream
} }
/** /**
* Creates, initializes and orders the list of candidate pairs that would * Creates and adds to <tt>checkList</tt> all the <tt>CandidatePair</tt>s
* be used for the connectivity checks for all components in this stream. * in all <tt>Component</tt>s of this stream.
* *
* @param checkList the list that we need to update with the new pairs. * @param checkList the list that we need to update with the new pairs.
*/ */
@ -372,6 +372,7 @@ public class IceMediaStream
for(LocalCandidate lc : localCnds) for(LocalCandidate lc : localCnds)
{ {
// XXX do we assume a single UPNPCandidate here?
if(lc instanceof UPNPCandidate) if(lc instanceof UPNPCandidate)
upnpBase = lc.getBase(); upnpBase = lc.getBase();
} }

View File

@ -272,7 +272,6 @@ public abstract class Message
public static final char CONNECTION_BIND_ERROR_RESPONSE = public static final char CONNECTION_BIND_ERROR_RESPONSE =
(TURN_METHOD_CONNECTION_BIND | STUN_ERROR_RESP); (TURN_METHOD_CONNECTION_BIND | STUN_ERROR_RESP);
/** /**
* TURN Connection Attempt Indication code. * TURN Connection Attempt Indication code.
*/ */