main/src/main/java/org/onap/policy/pap/main/comm/PdpModifyRequestMap.java
/**
     * Adds a pair of requests to the map.
     *
     * @param update the UPDATE request or {@code null}
     * @param stateChange the STATE-CHANGE request or {@code null}
     */
Adds a pair of requests to the map.
@param update the UPDATE request or  null
@param stateChange the STATE-CHANGE request or  null
Adds a pair of requests to the map . @param update the UPDATE request or null @param stateChange the STATE - CHANGE request or null
public void addRequest(PdpUpdate update, PdpStateChange stateChange) {
        if (update == null) {
            addRequest(stateChange);
        } else {
            synchronized (modifyLock) {
                addRequest(update);
                addRequest(stateChange);
            }
        }
    }
public void addRequest ( PdpUpdate update , PdpStateChange stateChange ) { if ( update == null ) { addRequest ( stateChange ) ; } else { synchronized ( modifyLock ) { addRequest ( update ) ; addRequest ( stateChange ) ; } } }
Adds a pair of requests to the map.
Adds a pair of requests to the map .