Fixes javadocs.

This commit is contained in:
lubomir.marinov 2010-03-04 11:01:27 +00:00
parent cac14c0adc
commit 48dde7ea8c
5 changed files with 18 additions and 16 deletions

View File

@ -143,6 +143,4 @@ public class XorMappedAddressAttribute
{
return applyXor(getAddress(), xorMask);
}
}

View File

@ -95,7 +95,7 @@ class MessageProcessor
{
while (isRunning)
{
RawMessage rawMessage = null;
RawMessage rawMessage;
try
{
rawMessage = messageQueue.remove();
@ -104,15 +104,15 @@ class MessageProcessor
{
if(isRunning())
logger.log(Level.WARNING,
"A net access point has gone useless:", ex);
"A net access point has gone useless: ", ex);
//nothing to do here since we test whether we are running
//just beneath ...
rawMessage = null;
}
// were we asked to stop?
if (!isRunning()){
if (!isRunning())
return;
}
//anything to parse?
if (rawMessage == null)
continue;

View File

@ -312,13 +312,14 @@ public class MessageEventDispatchingTest extends TestCase
}
/**
* Stores incoming requests.
* Stores incoming responses.
*
* @param responseEvt the event containing the incoming request.
* @param response a <tt>StunMessageEvent</tt> which describes the
* received STUN <tt>Response</tt>
*/
public synchronized void processResponse(StunMessageEvent responseEvt)
public synchronized void processResponse(StunMessageEvent response)
{
receivedResponses.add(responseEvt);
receivedResponses.add(response);
notifyAll();
}

View File

@ -547,13 +547,13 @@ public class TransactionSupportTests extends TestCase
}
/**
* Logs the received <tt>responseEvt</tt>
* Logs the received <tt>response</tt>
*
* @param responseEvt the event to log.
* @param response the event to log.
*/
public void processResponse(StunMessageEvent responseEvt)
public void processResponse(StunMessageEvent response)
{
receivedResponses.add(responseEvt);
receivedResponses.add(response);
}
}
}

View File

@ -335,10 +335,13 @@ public class ShallowStackTest extends TestCase {
/**
* Logs the received response and notifies the wait method.
*
* @param response a <tt>StunMessageEvent</tt> which describes the
* received STUN <tt>Response</tt>
*/
public synchronized void processResponse(StunMessageEvent evt)
public synchronized void processResponse(StunMessageEvent response)
{
collectedResponse = (Response)evt.getMessage();
collectedResponse = (Response) response.getMessage();
logger.finest("Received response.");
notifyAll();
}