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

@ -182,8 +182,8 @@ public class CheckList
if(highestPriorityPair != null) if(highestPriorityPair != null)
return highestPriorityPair; return highestPriorityPair;
for (CandidatePair pair : this) for (CandidatePair pair : this)
{ {
if (pair.getState() == CandidatePairState.FROZEN) if (pair.getState() == CandidatePairState.FROZEN)
{ {
if(highestPriorityPair == null if(highestPriorityPair == null

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

@ -235,49 +235,48 @@ public abstract class Message
*/ */
public static final char DATA_INDICATION = public static final char DATA_INDICATION =
(TURN_METHOD_DATA | STUN_INDICATION); (TURN_METHOD_DATA | STUN_INDICATION);
/** /**
* TURN Connect Request code. * TURN Connect Request code.
*/ */
public static final char CONNECT_REQUEST = public static final char CONNECT_REQUEST =
(TURN_METHOD_CONNECT | STUN_REQUEST); (TURN_METHOD_CONNECT | STUN_REQUEST);
/** /**
* TURN Connect Success Response code. * TURN Connect Success Response code.
*/ */
public static final char CONNECT_RESPONSE = public static final char CONNECT_RESPONSE =
(TURN_METHOD_CONNECT | STUN_SUCCESS_RESP); (TURN_METHOD_CONNECT | STUN_SUCCESS_RESP);
/** /**
* TURN Connect Error Response code. * TURN Connect Error Response code.
*/ */
public static final char CONNECT_ERROR_RESPONSE = public static final char CONNECT_ERROR_RESPONSE =
(TURN_METHOD_CONNECT | STUN_ERROR_RESP); (TURN_METHOD_CONNECT | STUN_ERROR_RESP);
/** /**
* TURN Connection Bind Request code. * TURN Connection Bind Request code.
*/ */
public static final char CONNECTION_BIND_REQUEST = public static final char CONNECTION_BIND_REQUEST =
(TURN_METHOD_CONNECTION_BIND | STUN_REQUEST); (TURN_METHOD_CONNECTION_BIND | STUN_REQUEST);
/** /**
* TURN Connection Bind Success Response code. * TURN Connection Bind Success Response code.
*/ */
public static final char CONNECTION_BIND_SUCCESS_RESPONSE = public static final char CONNECTION_BIND_SUCCESS_RESPONSE =
(TURN_METHOD_CONNECTION_BIND | STUN_SUCCESS_RESP); (TURN_METHOD_CONNECTION_BIND | STUN_SUCCESS_RESP);
/** /**
* TURN Connection Bind error code. * TURN Connection Bind error code.
*/ */
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.
*/ */
public static final char CONNECTION_ATTEMPT_INDICATION = public static final char CONNECTION_ATTEMPT_INDICATION =
(TURN_METHOD_CONNECTION_ATTEMPT | STUN_INDICATION); (TURN_METHOD_CONNECTION_ATTEMPT | STUN_INDICATION);
/* Old TURN method */ /* Old TURN method */
/** /**