Minor formatting/spelling fixes.
This commit is contained in:
parent
bc8ab03637
commit
2da5150e14
@ -131,7 +131,7 @@ public class Agent
|
||||
= "IceProcessingState";
|
||||
|
||||
/**
|
||||
* the value of <tt>Ta</tt> as specified by the application or <tt>-1</tt>
|
||||
* The value of <tt>Ta</tt> as specified by the application or <tt>-1</tt>
|
||||
* if non was specified and we should calculate one ourselves.
|
||||
*/
|
||||
private long taValue = -1;
|
||||
|
||||
@ -397,7 +397,7 @@ public class HostCandidateHarvester
|
||||
* @param minPort the port number where we should first try to bind before
|
||||
* moving to the next one (i.e. <tt>minPort + 1</tt>)
|
||||
* @param maxPort the maximum port number where we should try binding
|
||||
* before giving up and throwinG an exception.
|
||||
* before giving up and throwing an exception.
|
||||
*
|
||||
* @return the newly created <tt>DatagramSocket</tt>.
|
||||
*
|
||||
|
||||
@ -89,7 +89,7 @@ public class MultiplexingDatagramSocket
|
||||
|
||||
/**
|
||||
* Buffer variable for storing the SO_TIMEOUT value set by the
|
||||
* last <tt>setSoTimeout()</tt> call. Altough not strictly needed,
|
||||
* last <tt>setSoTimeout()</tt> call. Although not strictly needed,
|
||||
* getting the locally stored value as opposed to retrieving it
|
||||
* from a parent <tt>getSoTimeout()</tt> call seems to
|
||||
* significantly improve efficiency, at least on some platforms.
|
||||
@ -407,7 +407,9 @@ public class MultiplexingDatagramSocket
|
||||
* @throws SocketTimeoutException if the timeout has expired
|
||||
* @throws IOException if an I/O error occurs
|
||||
*/
|
||||
private void receive(List<DatagramPacket> received, DatagramPacket p,
|
||||
private void receive(
|
||||
List<DatagramPacket> received,
|
||||
DatagramPacket p,
|
||||
int timeout)
|
||||
throws SocketTimeoutException, IOException
|
||||
{
|
||||
@ -455,9 +457,10 @@ public class MultiplexingDatagramSocket
|
||||
{
|
||||
try
|
||||
{
|
||||
received.wait((timeout > 0 ?
|
||||
timeout - (now - start) :
|
||||
1000));
|
||||
received.wait(
|
||||
timeout > 0
|
||||
? timeout - (now - start)
|
||||
: 1000);
|
||||
}
|
||||
catch (InterruptedException ie)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user