SIPServerTransaction nextTransaction = (SIPServerTransaction) transactionIterator .next();   if (nextTransaction.isMessagePartOfTransaction(requestReceived)) {   currentTransaction = nextTransaction; } } } return currentTransaction;
	public SIPServerTransaction findPendingTransaction(			SIPRequest requestReceived) {		SIPServerTransaction currentTransaction;		Iterator transactionIterator;		synchronized (pendingTransactions) {			transactionIterator = pendingTransactions.iterator();			currentTransaction = null;			while (transactionIterator.hasNext() && currentTransaction == null) {				SIPServerTransaction nextTransaction = (SIPServerTransaction) transactionIterator						.next();				// If this transaction should handle this request,				if (nextTransaction.isMessagePartOfTransaction(requestReceived)) {					// Mark this transaction as the one					// to handle this message					currentTransaction = nextTransaction;				}			}		}		return currentTransaction;	}