main/src/main/java/org/onap/policy/pap/main/comm/PdpRequests.java
/**
     * Determines if any singleton request, with a higher priority, is associated with the
     * PDP.
     *
     * @param priority priority of interest
     *
     * @return {@code true} if the PDP has a singleton, {@code false} otherwise
     */
Determines if any singleton request, with a higher priority, is associated with the
PDP.

@param priority priority of interest

@return  true if the PDP has a singleton,  false otherwise
Determines if any singleton request with a higher priority is associated with the PDP . @param priority priority of interest @return true if the PDP has a singleton false otherwise
private boolean higherPrioritySingleton(int priority) {
        for (int x = priority + 1; x < MAX_PRIORITY; ++x) {
            if (singletons[x] != null) {
                return true;
            }
        }
        return false;
    }
private boolean higherPrioritySingleton ( int priority ) { for ( int x = priority + 1 ; x < MAX_PRIORITY ; ++ x ) { if ( singletons [ x ] != null ) { return true ; } } return false ; }
Determines if any singleton request, with a higher priority, is associated with the
 PDP.
Determines if any singleton request with a higher priority is associated with the PDP .