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); return applyXor(getAddress(), xorMask);
} }
} }

View File

@ -95,7 +95,7 @@ class MessageProcessor
{ {
while (isRunning) while (isRunning)
{ {
RawMessage rawMessage = null; RawMessage rawMessage;
try try
{ {
rawMessage = messageQueue.remove(); rawMessage = messageQueue.remove();
@ -107,12 +107,12 @@ class MessageProcessor
"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 //nothing to do here since we test whether we are running
//just beneath ... //just beneath ...
rawMessage = null;
} }
// were we asked to stop? // were we asked to stop?
if (!isRunning()){ if (!isRunning())
return; return;
}
//anything to parse? //anything to parse?
if (rawMessage == null) if (rawMessage == null)
continue; 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(); 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. * 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."); logger.finest("Received response.");
notifyAll(); notifyAll();
} }