main/src/main/java/org/onap/policy/pap/main/comm/PdpRequests.java
/**
     * Zaps request pointers, if the request appears at the given index.
     *
     * @param index index to examine
     * @param request request of interest
     * @return {@code true} if a request pointer was zapped, {@code false} if the request
     *         did not appear at the given index
     */
Zaps request pointers, if the request appears at the given index.
@param index index to examine
@param request request of interest
@return  true if a request pointer was zapped,  false if the request
did not appear at the given index
Zaps request pointers if the request appears at the given index . @param index index to examine @param request request of interest @return true if a request pointer was zapped false if the request did not appear at the given index
private boolean zapRequest(int index, Request request) {
        if (singletons[index] == request) {
            singletons[index] = null;
            return true;
        }
        return false;
    }
private boolean zapRequest ( int index , Request request ) { if ( singletons [ index ] == request ) { singletons [ index ] = null ; return true ; } return false ; }
Zaps request pointers, if the request appears at the given index.
Zaps request pointers if the request appears at the given index .