common/src/main/java/HTTPClient/IdempotentSequence.java
/**
     * Add the request to the end of the list of requests. This is used
     * to build the complete sequence of requests before determining
     * whether the sequence is idempotent.
     *
     * @param req the next request
     */
Add the request to the end of the list of requests. This is used
to build the complete sequence of requests before determining
whether the sequence is idempotent.

@param req the next request
Add the request to the end of the list of requests . This is used to build the complete sequence of requests before determining whether the sequence is idempotent . @param req the next request
public void add(Request req)
    {
	if (m_len >= m_history.length)
	    m_history = Util.resizeArray(m_history, m_history.length+10);
	m_history[m_len++] = methodNum(req.getMethod());
	if (r_len >= r_history.length)
	    r_history = Util.resizeArray(r_history, r_history.length+10);
	r_history[r_len++] = req.getRequestURI();
    }
public void add ( Request req ) { if ( m_len >= m_history . length ) m_history = Util . resizeArray ( m_history , m_history . length + 10 ) ; m_history [ m_len ++ ] = methodNum ( req . getMethod ( ) ) ; if ( r_len >= r_history . length ) r_history = Util . resizeArray ( r_history , r_history . length + 10 ) ; r_history [ r_len ++ ] = req . getRequestURI ( ) ; }
Add the request to the end of the list of requests.
Add the request to the end of the list of requests .