main/src/main/java/org/onap/policy/pap/main/comm/msgdata/RequestImpl.java
/**
     * Verifies that the name is not null. Also verifies that it matches the name in the
     * message, if the message has a name.
     */
Verifies that the name is not null. Also verifies that it matches the name in the
message, if the message has a name.
Verifies that the name is not null . Also verifies that it matches the name in the message if the message has a name .
@Override
    public String checkResponse(PdpStatus response) {
        if (response.getName() == null) {
            return "null PDP name";
        }
        if (message.getName() != null && !message.getName().equals(response.getName())) {
            return "PDP name does not match";
        }
        return null;
    }
@ Override public String checkResponse ( PdpStatus response ) { if ( response . getName ( ) == null ) { return "null PDP name" ; } if ( message . getName ( ) != null && ! message . getName ( ) . equals ( response . getName ( ) ) ) { return "PDP name does not match" ; } return null ; }
Verifies that the name is not null.
Verifies that the name is not null .